Skip to content

5.20.0

Compare
Choose a tag to compare
@marijnh marijnh released this 20 Oct 09:33
· 1783 commits to master since this release
5.20.0

Release 5.20.0

Bug fixes

Make newlineAndIndent command work with multiple cursors on the same line.

Make sure keypress events for backspace are ignored.

Tokens styled with overlays no longer get a nonsense cm-cm-overlay class.

Line endings for pasted content are now normalized to the editor's preferred ending.

javascript mode: Improve support for class expressions. Support TypeScript optional class properties, the abstract keyword, and return type declarations for arrow functions.

css mode: Fix highlighting of mixed-case keywords.

closebrackets addon: Improve behavior when typing a quote before a string.

New features

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).

The refresh event is now documented and stable.