Skip to content

Commit 436081e

Browse files
committed
Mark version 5.42.0
1 parent 51a3704 commit 436081e

File tree

7 files changed

+43
-4
lines changed

7 files changed

+43
-4
lines changed

AUTHORS

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -134,6 +134,7 @@ Chad Jolly
134134
Chandra Sekhar Pydi
135135
Charles Skelton
136136
Cheah Chu Yeow
137+
Chris Colborne
137138
Chris Coyier
138139
Chris Ford
139140
Chris Granger
@@ -316,6 +317,7 @@ James Howard
316317
James Thorne
317318
Jamie Hill
318319
Jamie Morris
320+
Janice Leung
319321
Jan Jongboom
320322
jankeromnes
321323
Jan Keromnes
@@ -359,6 +361,7 @@ John Van Der Loo
359361
Jon Ander Peñalba
360362
Jonas Döbertin
361363
Jonas Helfer
364+
Jonathan Dierksen
362365
Jonathan Hart
363366
Jonathan Malmaud
364367
Jon Gacnik
@@ -452,6 +455,7 @@ Marijn Haverbeke
452455
Mário Gonçalves
453456
Mario Pietsch
454457
Mark Anderson
458+
Mark Dalgleish
455459
Mark Lentczner
456460
Marko Bonaci
457461
Mark Peace
@@ -557,6 +561,7 @@ Nisarg Jhaveri
557561
nlwillia
558562
noragrossman
559563
Norman Rzepka
564+
Oleksandr Yakovenko
560565
opl-
561566
Oreoluwa Onatemowo
562567
Oskar Segersvärd
@@ -745,6 +750,7 @@ Victor Bocharsky
745750
Vincent Woo
746751
Volker Mische
747752
vtripolitakis
753+
wdouglashall
748754
Weiyan Shao
749755
wenli
750756
Wes Cossick

CHANGELOG.md

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,23 @@
1+
## 5.42.0 (2018-11-20)
2+
3+
### Bug fixes
4+
5+
Fix an issue where wide characters could cause lines to be come wider than the editor's horizontal scroll width.
6+
7+
Optimize handling of window resize events.
8+
9+
[show-hint addon](https://codemirror.net/doc/manual.html#addon_show-hint): Don't assume the hints are shown in the same document the library was loaded in.
10+
11+
[python mode](https://codemirror.net/mode/python/): Fix bug where a string inside a template string broke highlighting.
12+
13+
[swift mode](https://codemirror.net/mode/swift): Support multi-line strings.
14+
15+
### New features
16+
17+
The [`markText` method](https://codemirror.net/doc/manual.html#markText) now takes an [`attributes`](https://codemirror.net/doc/manual.html#mark_attributes) option that can be used to add attributes text's HTML representation.
18+
19+
[vim bindings](https://codemirror.net/demo/vim.html): Add support for the `=` binding.
20+
121
## 5.41.0 (2018-10-25)
222

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

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

doc/releases.html

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

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

33+
34+
<p class="rel">20-11-2018: <a href="https://codemirror.net/codemirror-5.42.0.zip">Version 5.42.0</a>:</p>
35+
36+
<ul class="rel-note">
37+
<li>The <a href="https://codemirror.net/doc/manual.html#markText"><code>markText</code> method</a> now takes an <a href="https://codemirror.net/doc/manual.html#mark_attributes"><code>attributes</code></a> option that can be used to add attributes text's HTML representation.</li>
38+
<li><a href="https://codemirror.net/demo/vim.html">vim bindings</a>: Add support for the <code>=</code> binding.</li>
39+
<li>Fix an issue where wide characters could cause lines to be come wider than the editor's horizontal scroll width.</li>
40+
<li>Optimize handling of window resize events.</li>
41+
<li><a href="https://codemirror.net/doc/manual.html#addon_show-hint">show-hint addon</a>: Don't assume the hints are shown in the same document the library was loaded in.</li>
42+
<li><a href="https://codemirror.net/mode/python/">python mode</a>: Fix bug where a string inside a template string broke highlighting.</li>
43+
<li><a href="https://codemirror.net/mode/swift">swift mode</a>: Support multi-line strings.</li>
44+
</ul>
45+
3346
<p class="rel">25-10-2018: <a href="https://codemirror.net/codemirror-5.41.0.zip">Version 5.41.0</a>:</p>
3447

3548
<ul class="rel-note">

index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,7 @@ <h2>This is CodeMirror</h2>
9999
</div>
100100
</div>
101101
<div class=actionsleft>
102-
Get the current version: <a href="https://codemirror.net/codemirror.zip">5.41.0</a>.<br>
102+
Get the current version: <a href="https://codemirror.net/codemirror.zip">5.42.0</a>.<br>
103103
You can see the <a href="https://github.com/codemirror/codemirror" title="Github repository">code</a>,<br>
104104
read the <a href="doc/releases.html">release notes</a>,<br>
105105
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.41.1",
3+
"version": "5.42.0",
44
"main": "lib/codemirror.js",
55
"style": "lib/codemirror.css",
66
"author": {

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.js"
6666

6767
addLegacyProps(CodeMirror)
6868

69-
CodeMirror.version = "5.41.1"
69+
CodeMirror.version = "5.42.0"

0 commit comments

Comments
 (0)