Skip to content

Commit

Permalink
Mark version 5.31.0
Browse files Browse the repository at this point in the history
  • Loading branch information
marijnh committed Oct 20, 2017
1 parent a7f6e9f commit f936d89
Show file tree
Hide file tree
Showing 7 changed files with 43 additions and 6 deletions.
10 changes: 9 additions & 1 deletion AUTHORS
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,7 @@ Andreas Reischuck
Andres Taylor
Andre von Houck
Andrew Cheng
Andrew Dassonville
Andrey Fedorov
Andrey Klyuchnikov
Andrey Lushnikov
Expand Down Expand Up @@ -242,6 +243,7 @@ Grant Skinner
greengiant
Gregory Koberger
Grzegorz Mazur
Guan Gui
Guillaume Massé
Guillaume Massé
guraga
Expand All @@ -253,6 +255,7 @@ Harshvardhan Gupta
Hasan Karahan
Hector Oswaldo Caballero
Hendrik Wallbaum
Henrik Haugbølle
Herculano Campos
Hiroyuki Makino
hitsthings
Expand Down Expand Up @@ -308,6 +311,7 @@ jem (graphite)
Jeremy Parmenter
Jim
Jim Avery
jkaplon
JobJob
jochenberger
Jochen Berger
Expand Down Expand Up @@ -341,6 +345,7 @@ ju1ius
Juan Benavides Romero
Jucovschi Constantin
Juho Vuori
Julien CROUZET
Julien Rebetez
Justin Andresen
Justin Hileman
Expand Down Expand Up @@ -411,6 +416,7 @@ Mark Lentczner
Marko Bonaci
Mark Peace
Markus Bordihn
Markus Olsson
Martin Balek
Martín Gaitán
Martin Hasoň
Expand Down Expand Up @@ -528,8 +534,8 @@ peterkroon
Peter Kroon
Philipp A
Philip Stadermann
Pierre Gerold
Pi Delport
Pierre Gerold
Pieter Ouwerkerk
Pontus Melke
prasanthj
Expand Down Expand Up @@ -633,6 +639,7 @@ thanasis
TheHowl
themrmax
think
Thomas Brouard
Thomas Dvornik
Thomas Kluyver
Thomas Schmid
Expand Down Expand Up @@ -662,6 +669,7 @@ vf
Victor Bocharsky
Vincent Woo
Volker Mische
vtripolitakis
Weiyan Shao
wenli
Wes Cossick
Expand Down
18 changes: 18 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,21 @@
## 5.31.0 (2017-10-20)

### Bug fixes

Further improve selection drawing and cursor motion in right-to-left documents.

[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).

[continuecomment addon](http://codemirror.net/doc/manual.html#addon_continuecomment): Fix bug when pressing enter after a single-line block comment.

[markdown mode](http://codemirror.net/mode/markdown/): Fix issue with leaving indented fenced code blocks.

[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.

### New features

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.

## 5.30.0 (2017-09-20)

### Bug fixes
Expand Down
4 changes: 2 additions & 2 deletions doc/manual.html
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@
<section class=first id=overview>
<h2 style="position: relative">
User manual and reference guide
<span style="color: #888; font-size: 1rem; position: absolute; right: 0; bottom: 0">version 5.30.0</span>
<span style="color: #888; font-size: 1rem; position: absolute; right: 0; bottom: 0">version 5.31.0</span>
</h2>

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

<dt><code><strong>baseToken</strong>() → ?{type: ?string, size: number}</code></dt>
<dt id="baseToken"><code><strong>baseToken</strong>() → ?{type: ?string, size: number}</code></dt>
<dd>Modes added
through <a href="#addOverlay"><code>addOverlay</code></a>
(and <em>only</em> such modes) can use this method to inspect
Expand Down
11 changes: 11 additions & 0 deletions doc/releases.html
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,17 @@ <h2>Release notes and version history</h2>

<h2>Version 5.x</h2>

<p class="rel">20-10-2017: <a href="http://codemirror.net/codemirror-5.31.0.zip">Version 5.31.0</a>:</p>

<ul class="rel-note">
<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>
<li>Further improve selection drawing and cursor motion in right-to-left documents.</li>
<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>
<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>
<li><a href="http://codemirror.net/mode/markdown/">markdown mode</a>: Fix issue with leaving indented fenced code blocks.</li>
<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>
</ul>

<p class="rel">20-09-2017: <a href="http://codemirror.net/codemirror-5.30.0.zip">Version 5.30.0</a>:</p>

<ul class="rel-note">
Expand Down
2 changes: 1 addition & 1 deletion index.html
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ <h2>This is CodeMirror</h2>
</div>
</div>
<div class=actionsleft>
Get the current version: <a href="http://codemirror.net/codemirror.zip">5.30.0</a>.<br>
Get the current version: <a href="http://codemirror.net/codemirror.zip">5.31.0</a>.<br>
You can see the <a href="https://github.com/codemirror/codemirror" title="Github repository">code</a>,<br>
read the <a href="doc/releases.html">release notes</a>,<br>
or study the <a href="doc/manual.html">user manual</a>.
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "codemirror",
"version": "5.30.0",
"version": "5.31.0",
"main": "lib/codemirror.js",
"style": "lib/codemirror.css",
"description": "Full-featured in-browser code editor",
Expand Down
2 changes: 1 addition & 1 deletion src/edit/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -66,4 +66,4 @@ import { addLegacyProps } from "./legacy"

addLegacyProps(CodeMirror)

CodeMirror.version = "5.30.0"
CodeMirror.version = "5.31.0"

0 comments on commit f936d89

Please sign in to comment.