Releases: codemirror/codemirror5
Releases · codemirror/codemirror5
2.34.0
- New mode: Common Lisp.
- Fix right-click select-all on most browsers.
- Change the way highlighting happens:
Saves memory and CPU cycles.
compareStates
is no longer needed.
onHighlightComplete
no longer works. - Integrate mode (Markdown, XQuery, CSS, sTex) tests in central testsuite.
- Add a
CodeMirror.version
property. - More robust handling of nested modes in formatting and closetag plug-ins.
- Un/redo now preserves marked text and bookmarks.
- Full list of patches.
2.33.0
- New mode: Sieve.
- New
getViewPort
andonViewportChange
API. - Configurable cursor blink rate.
- Make binding a key to
false
disabling handling (again). - Show non-printing characters as red dots.
- More tweaks to the scrolling model.
- Expanded testsuite. Basic linter added.
- Remove most uses of
innerHTML
. RemoveCodeMirror.htmlEscape
. - Full list of patches.
2.32.0
2.31.0
- New modes: OCaml, Haxe, and VB.NET.
- Several fixes to the new scrolling model.
- Add a
setSize
method for programmatic resizing. - Add
getHistory
andsetHistory
methods. - Allow custom line separator string in
getValue
andgetRange
. - Support double- and triple-click drag, double-clicking whitespace.
- And more... (all patches)
2.3.0
- New scrollbar implementation. Should flicker less. Changes DOM structure of the editor.
- New theme: vibrant-ink.
- Many extensions to the VIM keymap (including text objects).
- Add mode-multiplexing utility script.
- Fix bug where right-click paste works in read-only mode.
- Add a
getScrollInfo
method. - Lots of other fixes.
2.25.0
2.24.0
- Drop support for Internet Explorer 6.
- New modes: Shell, Tiki wiki, Pig Latin.
- New themes: Ambiance, Blackboard.
- More control over drag/drop with
dragDrop
andonDragEvent
options. - Make HTML mode a bit less pedantic.
- Add
compoundChange
API method. - Several fixes in undo history and line hiding.
- Remove (broken) support for
catchall
in key maps, addnofallthrough
boolean field instead.
2.23.0
- Change default binding for tab [more]
Starting in 2.23, these bindings are default:
- Tab: Insert tab character
- Shift-tab: Reset line indentation to default
- Ctrl/Cmd-[: Reduce line indentation (old tab behaviour)
- Ctrl/Cmd-]: Increase line indentation (old shift-tab behaviour)
- New modes: [XQuery](http://codemirror.net/mode/xquery/index.html) and [VBScript](http://codemirror.net/mode/vbscript/index.html).
- Two new themes: [lesser-dark](http://codemirror.net/mode/less/index.html) and [xq-dark](http://codemirror.net/mode/xquery/index.html).
- Differentiate between background and text styles in [`setLineClass`](http://codemirror.net/doc/manual.html#setLineClass).
- Fix drag-and-drop in IE9+.
- Extend [`charCoords`](http://codemirror.net/doc/manual.html#charCoords) and [`cursorCoords`](http://codemirror.net/doc/manual.html#cursorCoords) with a `mode` argument.
- Add [`autofocus`](http://codemirror.net/doc/manual.html#option_autofocus) option.
- Add [`findMarksAt`](http://codemirror.net/doc/manual.html#findMarksAt) method.2.22.0
- Allow key handlers to pass up events, allow binding characters.
- Add
autoClearEmptyLines
option. - Properly use tab stops when rendering tabs.
- Make PHP mode more robust.
- Support indentation blocks in code folder.
- Add a script for highlighting instances of the selection.
- New .properties mode.
- Fix many bugs.