Skip to content

Releases: codemirror/codemirror5

2.34.0

06 Aug 11:27
Compare
Choose a tag to compare
  • 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

06 Aug 11:27
Compare
Choose a tag to compare
  • New mode: Sieve.
  • New getViewPort and onViewportChange 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. Remove CodeMirror.htmlEscape.
  • Full list of patches.

2.32.0

06 Aug 11:27
Compare
Choose a tag to compare

Emergency fix for a bug where an editor with line wrapping on IE will break when there is no scrollbar.

2.31.0

06 Aug 11:27
Compare
Choose a tag to compare

2.3.0

06 Aug 11:27
Compare
Choose a tag to compare
  • 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

06 Aug 11:27
Compare
Choose a tag to compare
  • New mode: Erlang.
  • Remove xmlpure mode (use xml.js).
  • Fix line-wrapping in Opera.
  • Fix X Windows middle-click paste in Chrome.
  • Fix bug that broke pasting of huge documents.
  • Fix backspace and tab key repeat in Opera.

2.24.0

06 Aug 11:27
Compare
Choose a tag to compare
  • Drop support for Internet Explorer 6.
  • New modes: Shell, Tiki wiki, Pig Latin.
  • New themes: Ambiance, Blackboard.
  • More control over drag/drop with dragDrop and onDragEvent 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, add nofallthrough boolean field instead.

2.23.0

06 Aug 11:27
Compare
Choose a tag to compare
  • 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

06 Aug 11:27
Compare
Choose a tag to compare

2.21.0

06 Aug 11:27
Compare
Choose a tag to compare
  • Added LESS, MySQL, Go, and Verilog modes.
  • Add smartIndent option.
  • Support a cursor in readOnly-mode.
  • Support assigning multiple styles to a token.
  • Use a new approach to drawing the selection.
  • Add scrollTo method.
  • Allow undo/redo events to span non-adjacent lines.
  • Lots and lots of bugfixes.