Releases: codemirror/codemirror5
Releases · codemirror/codemirror5
3.12.0
- New mode: GNU assembler.
- New options:
maxHighlightLength
andhistoryEventDelay
. - Added
addToHistory
option 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-hint
addons.plsql
andmysql
modes (usesql
mode). - Moved code: the range-finding functions for folding now have their own files.
- Changed interface: the
continuecomment
addon 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-hint
completion 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.Pass
to 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
insertLeft
option tosetBookmark
. - Add an
eachLine
method 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
rtlMoveVisually
option. - Improvements to vim keymap.
- Add built-in (lightweight) overlay mode support.
- Support
showIfHidden
option for line widgets. - Add simple Python hinter.
- Bring back the
fixedGutter
option. - 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
scrollIntoView
public. - Add
defaultTextHeight
method. - 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
defineInitHook
function. - Full list of patches.