Releases: codemirror/codemirror5
Releases · codemirror/codemirror5
3.22.0
3.21.0
- Auto-indenting a block will no longer add trailing whitespace to blank lines.
- Marking text has a new option
clearWhenEmptyto control auto-removal. - Several bugfixes in the handling of bidirectional text.
- The XML and CSS modes were largely rewritten. LESS support was added to the CSS mode.
- The OCaml mode was moved to an mllike mode, F# support added.
- Make it possible to fetch multiple applicable helper values with
getHelpers, and to register helpers matched on predicates withregisterGlobalHelper. - New theme pastel-on-dark.
- Better ECMAScript 6 support in JavaScript mode.
- Full list of patches.
3.20.0
- New modes: Julia and PEG.js.
- Support ECMAScript 6 in the JavaScript mode.
- Improved indentation for the CoffeeScript mode.
- Make non-printable-character representation configurable.
- Add ‘notification’ functionality to dialog addon.
- Full list of patches.
3.19.0
3.18.0
3.17.0
3.16.0
- The whole codebase is now under a single license file.
- The project page was overhauled and redesigned.
- New themes: Paraiso (light), The Matrix.
- Improved interaction between themes and active-line/matchbrackets addons.
- New folding function
CodeMirror.fold.comment. - Added fullscreen addon.
- Full list of patches.
3.15.0
3.14.0
- New addons: trailing space highlight, XML completion (rewritten), and diff merging.
markTextandaddLineWidgetnow take ahandleMouseEventsoption.- New methods:
lineAtHeight,getTokenTypeAt. - More precise cleanness-tracking using
changeGenerationandisClean. - Many extensions to Emacs mode (prefixes, more navigation units, and more).
- New events
"keyHandled"and"inputRead". - Various improvements to Ruby, Smarty, SQL, and Vim modes.
- Full list of patches.
3.13.0
- New modes: COBOL and HAML.
- New options:
cursorScrollMarginandcoverGutterNextToScrollbar. - New addon: commenting.
- More features added to the Vim keymap.
- Full list of patches.