|
| 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 | + |
| 31 | +## 5.20.2 (2016-10-21) |
| 32 | + |
| 33 | +### Bug fixes |
| 34 | + |
| 35 | +Fix `CodeMirror.version` returning the wrong version number. |
| 36 | + |
| 37 | +## 5.20.0 (2016-10-20) |
| 38 | + |
| 39 | +### Bug fixes |
| 40 | + |
| 41 | +Make `newlineAndIndent` command work with multiple cursors on the same line. |
| 42 | + |
| 43 | +Make sure keypress events for backspace are ignored. |
| 44 | + |
| 45 | +Tokens styled with overlays no longer get a nonsense `cm-cm-overlay` class. |
| 46 | + |
| 47 | +Line endings for pasted content are now normalized to the editor's [preferred ending](http://codemirror.net/doc/manual.html#option_lineSeparator). |
| 48 | + |
| 49 | +[javascript mode](http://codemirror.net/mode/javascript): Improve support for class expressions. Support TypeScript optional class properties, the `abstract` keyword, and return type declarations for arrow functions. |
| 50 | + |
| 51 | +[css mode](http://codemirror.net/mode/css): Fix highlighting of mixed-case keywords. |
| 52 | + |
| 53 | +[closebrackets addon](http://codemirror.net/doc/manual.html#addon_closebrackets): Improve behavior when typing a quote before a string. |
| 54 | + |
| 55 | +### New features |
| 56 | + |
| 57 | +The core is now maintained as a number of small files, using ES6 syntax and modules, under the `src/` directory. A git checkout no longer contains a working `codemirror.js` until you `npm build` (but when installing from NPM, it is included). |
| 58 | + |
| 59 | +The [`refresh`](http://codemirror.net/doc/manual.html#event_refresh) event is now documented and stable. |
| 60 | + |
1 | 61 | ## 5.19.0 (2016-09-20) |
2 | 62 |
|
3 | 63 | ### Bugfixes |
|
0 commit comments