Releases: codemirror/codemirror5
Releases · codemirror/codemirror5
3.12.0
- New mode: GNU assembler.
- New options:
maxHighlightLengthandhistoryEventDelay. - Added
addToHistoryoption formarkText. - Various fixes to JavaScript tokenization and indentation corner cases.
- Further improvements to the vim mode.
- Full list of patches.
3.11.0
- Removed code:
collapserange,formatting, andsimple-hintaddons.plsqlandmysqlmodes (usesqlmode). - Moved code: the range-finding functions for folding now have their own files.
- Changed interface: the
continuecommentaddon now exposes an option, rather than a command. - New modes: SCSS, Tcl, LiveScript, and mIRC.
- New addons:
placeholder, HTML completion. - New methods:
hasFocus,defaultCharWidth. - New events:
beforeCursorEnter,renderLine. - Many improvements to the
show-hintcompletion dialog addon. - Tweak behavior of by-word cursor motion.
- Further improvements to the vim mode.
- Full list of patches.
3.1.0
- Incompatible: key handlers may now return, rather than throw
CodeMirror.Passto signal they didn't handle the key. - Make documents a first-class construct, support split views and subviews.
- Add a new module for showing completion hints. Deprecate
simple-hint.js. - Extend htmlmixed mode to allow custom handling of script types.
- Support an
insertLeftoption tosetBookmark. - Add an
eachLinemethod to iterate over a document. - New addon modules: selection marking, linting, and automatic bracket closing.
- Add
"beforeChange"and"beforeSelectionChange"events. - Add
"hide"and"unhide"events to marked ranges. - Fix
coordsChar's interpretation of its argument to match the documentation. - New modes: Turtle and Q.
- Further improvements to the vim mode.
- Full list of patches.
3.02.0
3.01.0
- Move all add-ons into an organized directory structure under
/addon. You might have to adjust your paths. - New modes: D, Sass, APL, SQL (configurable), and Asterisk.
- Several bugfixes in right-to-left text support.
- Add
rtlMoveVisuallyoption. - Improvements to vim keymap.
- Add built-in (lightweight) overlay mode support.
- Support
showIfHiddenoption for line widgets. - Add simple Python hinter.
- Bring back the
fixedGutteroption. - Full list of patches.
2.38.0
2.37.0
3.0.0
New major version. Only partially backwards-compatible. See the upgrading guide for more information. Changes since release candidate 2:
- Rewritten VIM mode.
- Fix a few minor scrolling and sizing issues.
- Work around Safari segfault when dragging.
- Full list of patches.
2.36.0
- New mode: Z80 assembly.
- New theme: Twilight.
- Add command-line compression helper.
- Make
scrollIntoViewpublic. - Add
defaultTextHeightmethod. - Various extensions to the vim keymap.
- Make PHP mode build on mixed HTML mode.
- Add comment-continuing add-on.
- Full list of patches.
2.35.0
- New (sub) mode: TypeScript.
- Don't overwrite (insert key) when pasting.
- Fix several bugs in
markText/undo interaction. - Better indentation of JavaScript code without semicolons.
- Add
defineInitHookfunction. - Full list of patches.