Skip to content

Commit b63d14d

Browse files
committed
Mark release 5.21.0
1 parent 692393d commit b63d14d

File tree

7 files changed

+61
-4
lines changed

7 files changed

+61
-4
lines changed

AUTHORS

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ adanlobato
1010
Adán Lobato
1111
Adrian Aichner
1212
Adrian Heine
13+
Adrien Bertrand
1314
aeroson
1415
Ahmad Amireh
1516
Ahmad M. Zawawi
@@ -85,6 +86,7 @@ Ben Mosher
8586
Bernhard Sirlinger
8687
Bert Chang
8788
Bharad
89+
BigBlueHat
8890
Billy Moon
8991
binny
9092
B Krishna Chaitanya
@@ -274,13 +276,15 @@ Jeff Pickhardt
274276
jem (graphite)
275277
Jeremy Parmenter
276278
Jim
279+
Jim Avery
277280
JobJob
278281
jochenberger
279282
Jochen Berger
280283
Joel Einbinder
281284
joelpinheiro
282285
Johan Ask
283286
John Connor
287+
John-David Dalton
284288
John Engler
285289
John Lees-Miller
286290
John Snelson
@@ -311,6 +315,7 @@ [email protected]
311315
kaniga
312316
karevn
313317
Kayur Patel
318+
Kazuhito Hokamura
314319
Ken Newman
315320
ken restivo
316321
Ken Rockot
@@ -355,6 +360,7 @@ Manideep
355360
Manuel Rego Casasnovas
356361
Marat Dreizin
357362
Marcel Gerber
363+
Marcelo Camargo
358364
Marco Aurélio
359365
Marco Munizaga
360366
Marcus Bointon
@@ -455,6 +461,7 @@ Page
455461
Panupong Pasupat
456462
paris
457463
Paris
464+
Paris Kasidiaris
458465
Patil Arpith
459466
Patrick Stoica
460467
Patrick Strawderman
@@ -506,6 +513,7 @@ Samuel Ainsworth
506513
Sam Wilson
507514
sandeepshetty
508515
Sander AKA Redsandro
516+
Sander Verweij
509517
santec
510518
Sascha Peilicke
511519
satamas
@@ -542,12 +550,14 @@ Steffen Beyer
542550
Steffen Bruchmann
543551
Stephen Lavelle
544552
Steve Champagne
553+
Steve Hoover
545554
Steve O'Hara
546555
stoskov
547556
Stu Kennedy
548557
Sungho Kim
549558
sverweij
550559
Taha Jahangir
560+
takamori
551561
Tako Schotanus
552562
Takuji Shimokawa
553563
Tarmil

CHANGELOG.md

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,33 @@
1+
## 5.21.0 (2016-11-21)
2+
3+
### Bug fixes
4+
5+
Tapping/clicking the editor in [contentEditable mode](http://codemirror.net/doc/manual.html#option_inputStyle) on Chrome now puts the cursor at the tapped position.
6+
7+
Fix various crashes and misbehaviors when reading composition events in [contentEditable mode](http://codemirror.net/doc/manual.html#option_inputStyle).
8+
9+
Catches and ignores an IE 'Unspecified Error' when creating an editor in an iframe before there is a `<body>`.
10+
11+
[merge addon](http://codemirror.net/doc/manual.html#addon_merge): Fix several issues in the chunk-aligning feature.
12+
13+
[verilog mode](http://codemirror.net/mode/verilog): Rewritten to address various issues.
14+
15+
[julia mode](http://codemirror.net/mode/julia): Recognize Julia 0.5 syntax.
16+
17+
[swift mode](http://codemirror.net/mode/swift): Various fixes and adjustments to current syntax.
18+
19+
[markdown mode](http://codemirror.net/mode/markdown): Allow lists without a blank line above them.
20+
21+
### New features
22+
23+
The [`setGutterMarker`](http://codemirror.net/doc/manual.html#setGutterMarker), [`clearGutter`](http://codemirror.net/doc/manual.html#clearGutter), and [`lineInfo`](http://codemirror.net/doc/manual.html#lineInfo) methods are now available on `Doc` objects.
24+
25+
The [`heightAtLine`](http://codemirror.net/doc/manual.html#heightAtLine) method now takes an extra argument to allow finding the height at the top of the line's line widgets.
26+
27+
[ruby mode](http://codemirror.net/mode/ruby): `else` and `elsif` are now immediately indented.
28+
29+
[vim bindings](http://codemirror.net/demo/vim.html): Bind Ctrl-T and Ctrl-D to in- and dedent in insert mode.
30+
131
## 5.20.2 (2016-10-21)
232

333
### 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.20.3</span>
72+
<span style="color: #888; font-size: 1rem; position: absolute; right: 0; bottom: 0">version 5.21.0</span>
7373
</h2>
7474

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

doc/releases.html

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

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

33+
<p class="rel">21-11-2016: <a href="http://codemirror.net/codemirror-5.21.0.zip">Version 5.21.0</a>:</p>
34+
35+
<ul class=rel-note>
36+
<li>Tapping/clicking the editor in <a href="http://codemirror.net/doc/manual.html#option_inputStyle">contentEditable mode</a> on Chrome now puts the cursor at the tapped position.</li>
37+
<li>Fix various crashes and misbehaviors when reading composition events in <a href="http://codemirror.net/doc/manual.html#option_inputStyle">contentEditable mode</a>.</li>
38+
<li>Catches and ignores an IE 'Unspecified Error' when creating an editor in an iframe before there is a <code>&lt;body&gt;</code>.</li>
39+
<li><a href="http://codemirror.net/doc/manual.html#addon_merge">merge addon</a>: Fix several issues in the chunk-aligning feature.</li>
40+
<li><a href="http://codemirror.net/mode/verilog">verilog mode</a>: Rewritten to address various issues.</li>
41+
<li><a href="http://codemirror.net/mode/julia">julia mode</a>: Recognize Julia 0.5 syntax.</li>
42+
<li><a href="http://codemirror.net/mode/swift">swift mode</a>: Various fixes and adjustments to current syntax.</li>
43+
<li><a href="http://codemirror.net/mode/markdown">markdown mode</a>: Allow lists without a blank line above them.</li>
44+
<li>The <a href="http://codemirror.net/doc/manual.html#setGutterMarker"><code>setGutterMarker</code></a>, <a href="http://codemirror.net/doc/manual.html#clearGutter"><code>clearGutter</code></a>, and <a href="http://codemirror.net/doc/manual.html#lineInfo"><code>lineInfo</code></a> methods are now available on <code>Doc</code> objects.</li>
45+
<li>The <a href="http://codemirror.net/doc/manual.html#heightAtLine"><code>heightAtLine</code></a> method now takes an extra argument to allow finding the height at the top of the line's line widgets.</li>
46+
<li><a href="http://codemirror.net/mode/ruby">ruby mode</a>: <code>else</code> and <code>elsif</code> are now immediately indented.</li>
47+
<li><a href="http://codemirror.net/demo/vim.html">vim bindings</a>: Bind Ctrl-T and Ctrl-D to in- and dedent in insert mode.</li>
48+
</ul>
49+
3350
<p class="rel">20-10-2016: <a href="http://codemirror.net/codemirror-5.20.0.zip">Version 5.20.0</a>:</p>
3451

3552
<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.20.2</a>.<br>
99+
Get the current version: <a href="http://codemirror.net/codemirror.zip">5.21.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.20.3",
3+
"version": "5.21.0",
44
"main": "lib/codemirror.js",
55
"description": "Full-featured in-browser code editor",
66
"license": "MIT",

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.20.3"
69+
CodeMirror.version = "5.21.0"

0 commit comments

Comments
 (0)