Skip to content

Commit 314bd7f

Browse files
committed
Mark version 5.27.0
1 parent 8dd9a87 commit 314bd7f

File tree

7 files changed

+66
-4
lines changed

7 files changed

+66
-4
lines changed

AUTHORS

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -151,6 +151,7 @@ Daniel Kesler
151151
Daniel KJ
152152
Daniel Neel
153153
Daniel Parnell
154+
Danila Malyutin
154155
Danny Yoo
155156
darealshinji
156157
Darius Roberts
@@ -352,6 +353,7 @@ ks-ifware
352353
kubelsmieci
353354
KwanEsq
354355
Kyle Kelley
356+
KyleMcNutt
355357
Lanfei
356358
Lanny
357359
Laszlo Vidacs
@@ -452,6 +454,7 @@ mps
452454
ms
453455
mtaran-google
454456
Mu-An Chiou
457+
mzabuawala
455458
Narciso Jaramillo
456459
Nathan Williams
457460
ndr
@@ -594,9 +597,11 @@ Taha Jahangir
594597
takamori
595598
Tako Schotanus
596599
Takuji Shimokawa
600+
Takuya Matsuyama
597601
Tarmil
598602
TDaglis
599603
tel
604+
Tentone
600605
tfjgeorge
601606
Thaddee Tyl
602607
thanasis
@@ -613,6 +618,7 @@ Timothy Gu
613618
Timothy Hatcher
614619
TobiasBg
615620
Todd Berman
621+
Todd Kennedy
616622
Tomas-A
617623
Tomas Varaneckas
618624
Tom Erik Støwer

CHANGELOG.md

Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,39 @@
1+
## 5.27.0 (2017-06-22)
2+
3+
### Bug fixes
4+
5+
Fix infinite loop in forced display update.
6+
7+
Properly disable the hidden textarea when `readOnly` is `"nocursor"`.
8+
9+
Calling the `Doc` constructor without `new` works again.
10+
11+
[sql mode](http://codemirror.net/mode/sql/): Handle nested comments.
12+
13+
[javascript mode](http://codemirror.net/mode/javascript/): Improve support for TypeScript syntax.
14+
15+
[markdown mode](http://codemirror.net/mode/markdown/): Fix bug where markup was ignored on indented paragraph lines.
16+
17+
[vim bindings](http://codemirror.net/mode/demo/vim.html): Referencing invalid registers no longer causes an uncaught exception.
18+
19+
[rust mode](http://codemirror.net/mode/rust/): Add the correct MIME type.
20+
21+
[matchbrackets addon](http://codemirror.net/doc/manual.html#addon_matchbrackets): Document options.
22+
23+
### New features
24+
25+
Mouse button clicks can now be bound in keymaps by using names like `"LeftClick"` or `"Ctrl-Alt-MiddleTripleClick"`. When bound to a function, that function will be passed the position of the click as second argument.
26+
27+
The behavior of mouse selection and dragging can now be customized with the [`configureMouse`](http://codemirror.net/doc/manual.html#option_configureMouse) option.
28+
29+
Modes can now look ahead across line boundaries with the [`StringStream`](http://codemirror.net/doc/manual.html#StringStream)`.lookahead` method.
30+
31+
Introduces a `"type"` token type, makes modes that recognize types output it, and add styling for it to the themes.
32+
33+
New [`pasteLinesPerSelection`](http://codemirror.net/doc/manual.html#option_pasteLinesPerSelection) option to control the behavior of pasting multiple lines into multiple selections.
34+
35+
[searchcursor addon](http://codemirror.net/doc/manual.html#addon_searchcursor): Support multi-line regular expression matches, and normalize strings when matching.
36+
137
## 5.26.0 (2017-05-22)
238

339
### Bug fixes

doc/manual.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@
6969
<section class=first id=overview>
7070
<h2 style="position: relative">
7171
User manual and reference guide
72-
<span style="color: #888; font-size: 1rem; position: absolute; right: 0; bottom: 0">version 5.26.1</span>
72+
<span style="color: #888; font-size: 1rem; position: absolute; right: 0; bottom: 0">version 5.27.0</span>
7373
</h2>
7474

7575
<p>CodeMirror is a code-editor component that can be embedded in

doc/releases.html

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,26 @@ <h2>Release notes and version history</h2>
3030

3131
<h2>Version 5.x</h2>
3232

33+
<p class="rel">22-06-2017: <a href="http://codemirror.net/codemirror-5.27.0.zip">Version 5.27.0</a>:</p>
34+
35+
<ul>
36+
<li>Fix infinite loop in forced display update.</li>
37+
<li>Properly disable the hidden textarea when <code>readOnly</code> is <code>&quot;nocursor&quot;</code>.</li>
38+
<li>Calling the <code>Doc</code> constructor without <code>new</code> works again.</li>
39+
<li><a href="http://codemirror.net/mode/sql/">sql mode</a>: Handle nested comments.</li>
40+
<li><a href="http://codemirror.net/mode/javascript/">javascript mode</a>: Improve support for TypeScript syntax.</li>
41+
<li><a href="http://codemirror.net/mode/markdown/">markdown mode</a>: Fix bug where markup was ignored on indented paragraph lines.</li>
42+
<li><a href="http://codemirror.net/mode/demo/vim.html">vim bindings</a>: Referencing invalid registers no longer causes an uncaught exception.</li>
43+
<li><a href="http://codemirror.net/mode/rust/">rust mode</a>: Add the correct MIME type.</li>
44+
<li><a href="http://codemirror.net/doc/manual.html#addon_matchbrackets">matchbrackets addon</a>: Document options.</li>
45+
<li>Mouse button clicks can now be bound in keymaps by using names like <code>&quot;LeftClick&quot;</code> or <code>&quot;Ctrl-Alt-MiddleTripleClick&quot;</code>. When bound to a function, that function will be passed the position of the click as second argument.</li>
46+
<li>The behavior of mouse selection and dragging can now be customized with the <a href="http://codemirror.net/doc/manual.html#option_configureMouse"><code>configureMouse</code></a> option.</li>
47+
<li>Modes can now look ahead across line boundaries with the <a href="http://codemirror.net/doc/manual.html#StringStream"><code>StringStream</code></a><code>.lookahead</code> method.</li>
48+
<li>Introduces a <code>&quot;type&quot;</code> token type, makes modes that recognize types output it, and add styling for it to the themes.</li>
49+
<li>New <a href="http://codemirror.net/doc/manual.html#option_pasteLinesPerSelection"><code>pasteLinesPerSelection</code></a> option to control the behavior of pasting multiple lines into multiple selections.</li>
50+
<li><a href="http://codemirror.net/doc/manual.html#addon_searchcursor">searchcursor addon</a>: Support multi-line regular expression matches, and normalize strings when matching.</li>
51+
</ul>
52+
3353
<p class="rel">22-05-2017: <a href="http://codemirror.net/codemirror-5.26.0.zip">Version 5.26.0</a>:</p>
3454

3555
<ul class="rel-note">

index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@ <h2>This is CodeMirror</h2>
9696
</div>
9797
</div>
9898
<div class=actionsleft>
99-
Get the current version: <a href="http://codemirror.net/codemirror.zip">5.26.0</a>.<br>
99+
Get the current version: <a href="http://codemirror.net/codemirror.zip">5.27.0</a>.<br>
100100
You can see the <a href="https://github.com/codemirror/codemirror" title="Github repository">code</a>,<br>
101101
read the <a href="doc/releases.html">release notes</a>,<br>
102102
or study the <a href="doc/manual.html">user manual</a>.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "codemirror",
3-
"version": "5.26.1",
3+
"version": "5.27.0",
44
"main": "lib/codemirror.js",
55
"style": "lib/codemirror.css",
66
"description": "Full-featured in-browser code editor",

src/edit/main.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,4 +66,4 @@ import { addLegacyProps } from "./legacy"
6666

6767
addLegacyProps(CodeMirror)
6868

69-
CodeMirror.version = "5.26.1"
69+
CodeMirror.version = "5.27.0"

0 commit comments

Comments
 (0)