Skip to content

Releases: codemirror/codemirror5

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.

2.2.0

06 Aug 11:27
Compare
Choose a tag to compare

2.18.0

06 Aug 11:27
Compare
Choose a tag to compare

Fixes TextMarker.clear, which is broken in 2.17.