Skip to content

Releases: codemirror/codemirror5

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!

2.02.0

06 Aug 11:28
Compare
Choose a tag to compare
  • Add a Lua mode.
  • Fix reverse-searching for a regexp.
  • Empty lines can no longer break highlighting.
  • Rework scrolling model (the outer wrapper no longer does the scrolling).
  • Solve horizontal jittering on long lines.
  • Add runmode.js.
  • Immediately re-highlight text when typing.
  • Fix problem with 'sticking' horizontal scrollbar.

2.01.0

06 Aug 11:28
Compare
Choose a tag to compare
  • Add a Smalltalk mode.
  • Add a reStructuredText mode.
  • Add a Python mode.
  • Add a PL/SQL mode.
  • coordsChar now works
  • Fix a problem where onCursorActivity interfered with onChange.
  • Fix a number of scrolling and mouse-click-position glitches.
  • Pass information about the changed lines to onChange.
  • Support cmd-up/down on OS X.
  • Add triple-click line selection.
  • Don't handle shift when changing the selection through the API.
  • Support "nocursor" mode for readOnly option.
  • Add an onHighlightComplete option.
  • Fix the context menu for Firefox.