Skip to content

Commit f936d89

Browse files
committed
Mark version 5.31.0
1 parent a7f6e9f commit f936d89

File tree

7 files changed

+43
-6
lines changed

7 files changed

+43
-6
lines changed

AUTHORS

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,7 @@ Andreas Reischuck
4848
Andres Taylor
4949
Andre von Houck
5050
Andrew Cheng
51+
Andrew Dassonville
5152
Andrey Fedorov
5253
Andrey Klyuchnikov
5354
Andrey Lushnikov
@@ -242,6 +243,7 @@ Grant Skinner
242243
greengiant
243244
Gregory Koberger
244245
Grzegorz Mazur
246+
Guan Gui
245247
Guillaume Massé
246248
Guillaume Massé
247249
guraga
@@ -253,6 +255,7 @@ Harshvardhan Gupta
253255
Hasan Karahan
254256
Hector Oswaldo Caballero
255257
Hendrik Wallbaum
258+
Henrik Haugbølle
256259
Herculano Campos
257260
Hiroyuki Makino
258261
hitsthings
@@ -308,6 +311,7 @@ jem (graphite)
308311
Jeremy Parmenter
309312
Jim
310313
Jim Avery
314+
jkaplon
311315
JobJob
312316
jochenberger
313317
Jochen Berger
@@ -341,6 +345,7 @@ ju1ius
341345
Juan Benavides Romero
342346
Jucovschi Constantin
343347
Juho Vuori
348+
Julien CROUZET
344349
Julien Rebetez
345350
Justin Andresen
346351
Justin Hileman
@@ -411,6 +416,7 @@ Mark Lentczner
411416
Marko Bonaci
412417
Mark Peace
413418
Markus Bordihn
419+
Markus Olsson
414420
Martin Balek
415421
Martín Gaitán
416422
Martin Hasoň
@@ -528,8 +534,8 @@ peterkroon
528534
Peter Kroon
529535
Philipp A
530536
Philip Stadermann
531-
Pierre Gerold
532537
Pi Delport
538+
Pierre Gerold
533539
Pieter Ouwerkerk
534540
Pontus Melke
535541
prasanthj
@@ -633,6 +639,7 @@ thanasis
633639
TheHowl
634640
themrmax
635641
think
642+
Thomas Brouard
636643
Thomas Dvornik
637644
Thomas Kluyver
638645
Thomas Schmid
@@ -662,6 +669,7 @@ vf
662669
Victor Bocharsky
663670
Vincent Woo
664671
Volker Mische
672+
vtripolitakis
665673
Weiyan Shao
666674
wenli
667675
Wes Cossick

CHANGELOG.md

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,21 @@
1+
## 5.31.0 (2017-10-20)
2+
3+
### Bug fixes
4+
5+
Further improve selection drawing and cursor motion in right-to-left documents.
6+
7+
[vim bindings](http://codemirror.net/demo/vim.html): Fix ctrl-w behavior, support quote-dot and backtick-dot marks, make the wide cursor visible in contentEditable [input mode](http://codemirror.net/doc/manual.html#option_contentEditable).
8+
9+
[continuecomment addon](http://codemirror.net/doc/manual.html#addon_continuecomment): Fix bug when pressing enter after a single-line block comment.
10+
11+
[markdown mode](http://codemirror.net/mode/markdown/): Fix issue with leaving indented fenced code blocks.
12+
13+
[javascript mode](http://codemirror.net/mode/javascript/): Fix bad parsing of operators without spaces between them. Fix some corner cases around semicolon insertion and regexps.
14+
15+
### New features
16+
17+
Modes added with [`addOverlay`](http://codemirror.net/doc/manual.html#addOverlay) now have access to a [`baseToken`](http://codemirror.net/doc/manual.html#baseToken) method on their input stream, giving access to the tokens of the underlying mode.
18+
119
## 5.30.0 (2017-09-20)
220

321
### Bug fixes

doc/manual.html

Lines changed: 2 additions & 2 deletions
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.30.0</span>
72+
<span style="color: #888; font-size: 1rem; position: absolute; right: 0; bottom: 0">version 5.31.0</span>
7373
</h2>
7474

7575
<p>CodeMirror is a code-editor component that can be embedded in
@@ -3262,7 +3262,7 @@ <h2>Writing CodeMirror Modes</h2>
32623262
you want to do this carefully, since looking far ahead will make
32633263
mode state caching much less effective.</dd>
32643264

3265-
<dt><code><strong>baseToken</strong>() → ?{type: ?string, size: number}</code></dt>
3265+
<dt id="baseToken"><code><strong>baseToken</strong>() → ?{type: ?string, size: number}</code></dt>
32663266
<dd>Modes added
32673267
through <a href="#addOverlay"><code>addOverlay</code></a>
32683268
(and <em>only</em> such modes) can use this method to inspect

doc/releases.html

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

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

33+
<p class="rel">20-10-2017: <a href="http://codemirror.net/codemirror-5.31.0.zip">Version 5.31.0</a>:</p>
34+
35+
<ul class="rel-note">
36+
<li>Modes added with <a href="http://codemirror.net/doc/manual.html#addOverlay"><code>addOverlay</code></a> now have access to a <a href="http://codemirror.net/doc/manual.html#baseToken"><code>baseToken</code></a> method on their input stream, giving access to the tokens of the underlying mode.</li>
37+
<li>Further improve selection drawing and cursor motion in right-to-left documents.</li>
38+
<li><a href="http://codemirror.net/demo/vim.html">vim bindings</a>: Fix ctrl-w behavior, support quote-dot and backtick-dot marks, make the wide cursor visible in contentEditable <a href="http://codemirror.net/doc/manual.html#option_contentEditable">input mode</a>.</li>
39+
<li><a href="http://codemirror.net/doc/manual.html#addon_continuecomment">continuecomment addon</a>: Fix bug when pressing enter after a single-line block comment.</li>
40+
<li><a href="http://codemirror.net/mode/markdown/">markdown mode</a>: Fix issue with leaving indented fenced code blocks.</li>
41+
<li><a href="http://codemirror.net/mode/javascript/">javascript mode</a>: Fix bad parsing of operators without spaces between them. Fix some corner cases around semicolon insertion and regexps.</li>
42+
</ul>
43+
3344
<p class="rel">20-09-2017: <a href="http://codemirror.net/codemirror-5.30.0.zip">Version 5.30.0</a>:</p>
3445

3546
<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.30.0</a>.<br>
99+
Get the current version: <a href="http://codemirror.net/codemirror.zip">5.31.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.30.0",
3+
"version": "5.31.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.30.0"
69+
CodeMirror.version = "5.31.0"

0 commit comments

Comments
 (0)