Skip to content

Commit

Permalink
Mark version 5.50.0
Browse files Browse the repository at this point in the history
  • Loading branch information
marijnh committed Dec 20, 2019
1 parent 0a2b876 commit 4f0c03c
Show file tree
Hide file tree
Showing 8 changed files with 67 additions and 6 deletions.
8 changes: 8 additions & 0 deletions AUTHORS
Expand Up @@ -299,6 +299,7 @@ Hanzhao Deng
Harald Schilly
Hardest
Harshvardhan Gupta
Hasan Delibaş
Hasan Karahan
Heanes
Hector Oswaldo Caballero
Expand All @@ -320,6 +321,7 @@ Ian Wetherbee
Ice White
ICHIKAWA, Yuji
idleberg
Igor Petruk
ilvalle
Ilya Kharlamov
Ingo Richter
Expand Down Expand Up @@ -374,6 +376,7 @@ Joel Einbinder
joelpinheiro
joewalsh
Johan Ask
Johannes
John Connor
John-David Dalton
John Engler
Expand Down Expand Up @@ -444,6 +447,7 @@ Lanfei
Lanny
laobubu
Laszlo Vidacs
leaf
leaf corcoran
Lemmon
Leo Baschy
Expand Down Expand Up @@ -601,10 +605,13 @@ noragrossman
Norman Rzepka
Nouzbe
Oleksandr Yakovenko
Olivia Ytterbrink
Opender Singh
opl-
Oreoluwa Onatemowo
oscar.lofwenhamn
Oskar Segersvärd
ossdev
overdodactyl
pablo
pabloferz
Expand Down Expand Up @@ -752,6 +759,7 @@ Tako Schotanus
Takuji Shimokawa
Takuya Matsuyama
Tarmil
T. Brandon Ashley
TDaglis
tel
Tentone
Expand Down
32 changes: 32 additions & 0 deletions CHANGELOG.md
@@ -1,3 +1,35 @@
## 5.50.0 (2019-12-20)

### Bug fixes

Make Shift-Delete to cut work on Firefox.

[closetag addon](https://codemirror.net/demo/closetag.html): Properly handle self-closing tags.

[handlebars mode](https://codemirror.net/mode/handlebars/): Fix triple-brace support.

[searchcursor addon](https://codemirror.net/doc/manual.html#addon_searchcursor): Support mathing `$` in reverse regexp search.

[panel addon](https://codemirror.net/doc/manual.html#addon_panel): Don't get confused by changing panel sizes.

[javascript-hint addon](https://codemirror.net/doc/manual.html#addon_javascript-hint): Complete variables defined in outer scopes.

[sublime bindings](https://codemirror.net/demo/sublime.html): Make by-subword motion more consistent with Sublime Text.

[julia mode](https://codemirror.net/mode/julia/): Don't break on zero-prefixed integers.

[elm mode](https://codemirror.net/mode/elm/): Sync with upstream version.

[sql mode](https://codemirror.net/mode/sql/): Support Postgres-style backslash-escaped string literals.

### New features

Add a `className` option to [`addLineWidget`](https://codemirror.net/doc/manual.html#addLineWidget).

[foldcode addon](https://codemirror.net/doc/manual.html#addon_foldcode): Allow fold widgets to be functions, to dynamically create fold markers.

New themes: [ayu-dark](https://codemirror.net/demo/theme.html#ayu-dark) and [ayu-mirage](https://codemirror.net/demo/theme.html#ayu-mirage).

## 5.49.2 (2019-10-21)

### Bug fixes
Expand Down
2 changes: 1 addition & 1 deletion doc/manual.html
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.49.3</span>
<span style="color: #888; font-size: 1rem; position: absolute; right: 0; bottom: 0">version 5.50.0</span>
</h2>

<p>CodeMirror is a code-editor component that can be embedded in
Expand Down
18 changes: 18 additions & 0 deletions doc/releases.html
Expand Up @@ -30,6 +30,24 @@ <h2>Release notes and version history</h2>

<h2>Version 5.x</h2>

<p class="rel">20-12-2019: <a href="https://codemirror.net/codemirror-5.50.0.zip">Version 5.50.0</a>:</p>

<ul class="rel-note">
<li>Add a <code>className</code> option to <a href="https://codemirror.net/doc/manual.html#addLineWidget"><code>addLineWidget</code></a>.</li>
<li><a href="https://codemirror.net/doc/manual.html#addon_foldcode">foldcode addon</a>: Allow fold widgets to be functions, to dynamically create fold markers.</li>
<li>New themes: <a href="https://codemirror.net/demo/theme.html#ayu-dark">ayu-dark</a> and <a href="https://codemirror.net/demo/theme.html#ayu-mirage">ayu-mirage</a>.</li>
<li>Make Shift-Delete to cut work on Firefox.</li>
<li><a href="https://codemirror.net/demo/closetag.html">closetag addon</a>: Properly handle self-closing tags.</li>
<li><a href="https://codemirror.net/mode/handlebars/">handlebars mode</a>: Fix triple-brace support.</li>
<li><a href="https://codemirror.net/doc/manual.html#addon_searchcursor">searchcursor addon</a>: Support mathing <code>$</code> in reverse regexp search.</li>
<li><a href="https://codemirror.net/doc/manual.html#addon_panel">panel addon</a>: Don’t get confused by changing panel sizes.</li>
<li><a href="https://codemirror.net/doc/manual.html#addon_javascript-hint">javascript-hint addon</a>: Complete variables defined in outer scopes.</li>
<li><a href="https://codemirror.net/demo/sublime.html">sublime bindings</a>: Make by-subword motion more consistent with Sublime Text.</li>
<li><a href="https://codemirror.net/mode/julia/">julia mode</a>: Don’t break on zero-prefixed integers.</li>
<li><a href="https://codemirror.net/mode/elm/">elm mode</a>: Sync with upstream version.</li>
<li><a href="https://codemirror.net/mode/sql/">sql mode</a>: Support Postgres-style backslash-escaped string literals.</li>
</ul>

<p class="rel">21-10-2019: <a href="https://codemirror.net/codemirror-5.49.2.zip">Version 5.49.2</a>:</p>

<ul class="rel-note">
Expand Down
2 changes: 1 addition & 1 deletion index.html
Expand Up @@ -99,7 +99,7 @@ <h2>This is CodeMirror</h2>
</div>
</div>
<div class=actionsleft>
Get the current version: <a href="https://codemirror.net/codemirror.zip">5.49.2</a>.<br>
Get the current version: <a href="https://codemirror.net/codemirror.zip">5.50.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
@@ -1,6 +1,6 @@
{
"name": "codemirror",
"version": "5.49.3",
"version": "5.50.0",
"main": "lib/codemirror.js",
"style": "lib/codemirror.css",
"author": {
Expand Down
2 changes: 1 addition & 1 deletion src/edit/main.js
Expand Up @@ -66,4 +66,4 @@ import { addLegacyProps } from "./legacy.js"

addLegacyProps(CodeMirror)

CodeMirror.version = "5.49.3"
CodeMirror.version = "5.50.0"
7 changes: 5 additions & 2 deletions test/sublime_test.js
Expand Up @@ -60,7 +60,7 @@
};
}

stTest("bySubword", "the foo_bar DooDahBah \n a",
stTest("bySubword", "the foo_bar DooDahBah \n a FOOBar",
"goSubwordLeft", at(0, 0),
"goSubwordRight", at(0, 3),
"goSubwordRight", at(0, 7),
Expand All @@ -71,7 +71,10 @@
"goSubwordRight", at(0, 22),
"goSubwordRight", at(1, 0),
"goSubwordRight", at(1, 2),
"goSubwordRight", at(1, 2),
"goSubwordRight", at(1, 6),
"goSubwordRight", at(1, 9),
"goSubwordLeft", at(1, 6),
"goSubwordLeft", at(1, 3),
"goSubwordLeft", at(1, 1),
"goSubwordLeft", at(1, 0),
"goSubwordLeft", at(0, 22),
Expand Down

0 comments on commit 4f0c03c

Please sign in to comment.