|
| 1 | +## 5.25.0 (2017-02-22) |
| 2 | + |
| 3 | +### Bug fixes |
| 4 | + |
| 5 | +In contentEditable-mode, properly locate changes that repeat a character when inserted with IME. |
| 6 | + |
| 7 | +Fix handling of selections bigger than the viewport in contentEditable mode. |
| 8 | + |
| 9 | +Improve handling of changes that insert or delete lines in contentEditable mode. |
| 10 | + |
| 11 | +Count Unicode control characters 0x80 to 0x9F as special (non-printing) chars. |
| 12 | + |
| 13 | +Fix handling of shadow DOM roots when finding the active element. |
| 14 | + |
| 15 | +Add `role=presentation` to more DOM elements to improve screen reader support. |
| 16 | + |
| 17 | +[merge addon](http://codemirror.net/doc/manual.html#addon_merge): Make aligning of unchanged chunks more robust. |
| 18 | + |
| 19 | +[comment addon](http://codemirror.net/doc/manual.html#addon_comment): Fix comment-toggling on a block of text that starts and ends in a (differnet) block comment. |
| 20 | + |
| 21 | +[javascript mode](http://codemirror.net/mode/javascript/): Improve support for TypeScript syntax. |
| 22 | + |
| 23 | +[r mode](http://codemirror.net/mode/r/): Fix indentation after semicolon-less statements. |
| 24 | + |
| 25 | +[shell mode](http://codemirror.net/mode/shell/): Properly handle escaped parentheses in parenthesized expressions. |
| 26 | + |
| 27 | +[markdown mode](http://codemirror.net/mode/markdown/): Fix a few bugs around leaving fenced code blocks. |
| 28 | + |
| 29 | +[soy mode](http://codemirror.net/mode/soy/): Improve indentation. |
| 30 | + |
| 31 | +### New features |
| 32 | + |
| 33 | +[lint addon](http://codemirror.net/doc/manual.html#addon_lint): Support asynchronous linters that return promises. |
| 34 | + |
| 35 | +[continuelist addon](http://codemirror.net/doc/manual.html#addon_continuelist): Support continuing task lists. |
| 36 | + |
| 37 | +[vim bindings](http://codemirror.net/mode/demo/vim.html): Make Y behave like yy. |
| 38 | + |
| 39 | +[sql mode](http://codemirror.net/mode/sql/): Support sqlite dialect. |
| 40 | + |
| 41 | +## 5.24.2 (2017-02-22) |
| 42 | + |
| 43 | +### Bug fixes |
| 44 | + |
| 45 | +[javascript mode](http://codemirror.net/mode/javascript/): Support computed class method names. |
| 46 | + |
| 47 | +[merge addon](http://codemirror.net/doc/manual.html#addon_merge): Improve aligning of unchanged code in the presence of marks and line widgets. |
| 48 | + |
| 49 | +## 5.24.0 (2017-02-20) |
| 50 | + |
| 51 | +### Bug fixes |
| 52 | + |
| 53 | +A cursor directly before a line-wrapping break is now drawn before or after the line break depending on which direction you arrived from. |
| 54 | + |
| 55 | +Visual cursor motion in line-wrapped right-to-left text should be much more correct. |
| 56 | + |
| 57 | +Fix bug in handling of read-only marked text. |
| 58 | + |
| 59 | +[shell mode](http://codemirror.net/mode/shell/): Properly tokenize nested parentheses. |
| 60 | + |
| 61 | +[python mode](http://codemirror.net/mode/python/): Support underscores in number literals. |
| 62 | + |
| 63 | +[sass mode](http://codemirror.net/mode/sass/): Uses the full list of CSS properties and keywords from the CSS mode, rather than defining its own incomplete subset. |
| 64 | + |
| 65 | +[css mode](http://codemirror.net/mode/css/): Expose `lineComment` property for LESS and SCSS dialects. Recognize vendor prefixes on pseudo-elements. |
| 66 | + |
| 67 | +[julia mode](http://codemirror.net/mode/julia/): Properly indent `elseif` lines. |
| 68 | + |
| 69 | +[markdown mode](http://codemirror.net/mode/markdown/): Properly recognize the end of fenced code blocks when inside other markup. |
| 70 | + |
| 71 | +[scala mode](http://codemirror.net/mode/clike/): Improve handling of operators containing <code>#</code>, <code>@</code>, and <code>:</code> chars. |
| 72 | + |
| 73 | +[xml mode](http://codemirror.net/mode/xml/): Allow dashes in HTML tag names. |
| 74 | + |
| 75 | +[javascript mode](http://codemirror.net/mode/javascript/): Improve parsing of async methods, TypeScript-style comma-separated superclass lists. |
| 76 | + |
| 77 | +[indent-fold addon](http://codemirror.net/demo/folding.html): Ignore comment lines. |
| 78 | + |
| 79 | +### New features |
| 80 | + |
| 81 | +Positions now support a `sticky` property which determines whether they should be associated with the character before (value `"before"`) or after (value `"after"`) them. |
| 82 | + |
| 83 | +[vim bindings](http://codemirror.net/mode/demo/vim.html): Make it possible to remove built-in bindings through the API. |
| 84 | + |
| 85 | +[comment addon](http://codemirror.net/doc/manual.html#addon_comment): Support a per-mode <code>useInnerComments</code> option to optionally suppress descending to the inner modes to get comment strings. |
| 86 | + |
| 87 | +### Breaking changes |
| 88 | + |
| 89 | +The [sass mode](http://codemirror.net/mode/sass/) now depends on the [css mode](http://codemirror.net/mode/css/). |
| 90 | + |
| 91 | +## 5.23.0 (2017-01-19) |
| 92 | + |
| 93 | +### Bug fixes |
| 94 | + |
| 95 | +Presentation-related elements DOM elements are now marked as such to help screen readers. |
| 96 | + |
| 97 | +[markdown mode](http://codemirror.net/mode/markdown/): Be more picky about what HTML tags look like to avoid false positives. |
| 98 | + |
| 99 | +### New features |
| 100 | + |
| 101 | +`findModeByMIME` now understands `+json` and `+xml` MIME suffixes. |
| 102 | + |
| 103 | +[closebrackets addon](http://codemirror.net/doc/manual.html#addon_closebrackets): Add support for an `override` option to ignore language-specific defaults. |
| 104 | + |
| 105 | +[panel addon](http://codemirror.net/doc/manual.html#addon_panel): Add a `stable` option that auto-scrolls the content to keep it in the same place when inserting/removing a panel. |
| 106 | + |
| 107 | +## 5.22.2 (2017-01-12) |
| 108 | + |
| 109 | +### Bug fixes |
| 110 | + |
| 111 | +Include rollup.config.js in NPM package, so that it can be used to build from source. |
| 112 | + |
| 113 | +## 5.22.0 (2016-12-20) |
| 114 | + |
| 115 | +### Bug fixes |
| 116 | + |
| 117 | +[sublime bindings](http://codemirror.net/demo/sublime.html): Make `selectBetweenBrackets` work with multiple cursors. |
| 118 | + |
| 119 | +[javascript mode](http://codemirror.net/mode/javascript/): Fix issues with parsing complex TypeScript types, imports, and exports. |
| 120 | + |
| 121 | +A contentEditable editor instance with autofocus enabled no longer crashes during initializing. |
| 122 | + |
| 123 | +### New features |
| 124 | + |
| 125 | +[emacs bindings](http://codemirror.net/demo/emacs.html): Export `CodeMirror.emacs` to allow other addons to hook into Emacs-style functionality. |
| 126 | + |
| 127 | +[active-line addon](http://codemirror.net/doc/manual.html#addon_active-line): Add `nonEmpty` option. |
| 128 | + |
| 129 | +New event: [`optionChange`](http://codemirror.net/doc/manual.html#event_optionChange). |
| 130 | + |
1 | 131 | ## 5.21.0 (2016-11-21) |
2 | 132 |
|
3 | 133 | ### Bug fixes |
|
0 commit comments