Skip to content

Releases: codemirror/codemirror5

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.

2.17.0

06 Aug 11:27
Compare
Choose a tag to compare
  • Add support for line wrapping and code folding.
  • Add Github-style Markdown mode.
  • Add Monokai and Rubyblue themes.
  • Add setBookmark method.
  • Move some of the demo code into reusable components under lib/util.
  • Make screen-coord-finding code faster and more reliable.
  • Fix drag-and-drop in Firefox.
  • Improve support for IME.
  • Speed up content rendering.
  • Fix browser's built-in search in Webkit.
  • Make double- and triple-click work in IE.
  • Various fixes to modes.

2.16.0

06 Aug 11:27
Compare
Choose a tag to compare
  • Add Perl, Rust, TiddlyWiki, and Groovy modes.
  • Dragging text inside the editor now moves, rather than copies.
  • Add a coordsFromIndex method.
  • API change: setValue now no longer clears history. Use clearHistory for that.
  • API change: markText now returns an object with clear and find methods. Marked text is now more robust when edited.
  • Fix editing code with tabs in Internet Explorer.

2.15.0

06 Aug 11:27
Compare
Choose a tag to compare

Fix bug that snuck into 2.14: Clicking the character that currently has the cursor didn't re-focus the editor.

2.14.0

06 Aug 11:27
Compare
Choose a tag to compare

2.13.0

06 Aug 11:27
Compare
Choose a tag to compare

2.12.0

06 Aug 11:27
Compare
Choose a tag to compare
  • Add a SPARQL mode.
  • Fix bug with cursor jumping around in an unfocused editor in IE.
  • Allow key and mouse events to bubble out of the editor. Ignore widget clicks.
  • Solve cursor flakiness after undo/redo.
  • Fix block-reindent ignoring the last few lines.
  • Fix parsing of multi-line attrs in XML mode.
  • Use innerHTML for HTML-escaping.
  • Some fixes to indentation in C-like mode.
  • Shrink horiz scrollbars when long lines removed.
  • Fix width feedback loop bug that caused the width of an inner DIV to shrink.

2.11.0

06 Aug 11:27
Compare
Choose a tag to compare
  • Add a Scheme mode.
  • Add a replace method to search cursors, for cursor-preserving replacements.
  • Make the C-like mode mode more customizable.
  • Update XML mode to spot mismatched tags.
  • Add getStateAfter API and compareState mode API methods for finer-grained mode magic.
  • Add a getScrollerElement API method to manipulate the scrolling DIV.
  • Fix drag-and-drop for Firefox.
  • Add a C# configuration for the C-like mode.
  • Add full-screen editing and mode-changing demos.

2.1.0

06 Aug 11:27
Compare
Choose a tag to compare

Add a theme system (demo). Note that this is not backwards-compatible—you'll have to update your styles and modes!