Skip to content

Releases: codemirror/codemirror5

4.8.0

06 Aug 11:26

Choose a tag to compare

4.7.0

06 Aug 11:26

Choose a tag to compare

  • Incompatible: The lint addon now passes the editor's value as first argument to asynchronous lint functions, for consistency. The editor is still passed, as fourth argument.
  • Improved handling of unicode identifiers in modes for languages that support them.
  • More mode improvements: CoffeeScript (indentation), Verilog (indentation), Scala (indentation, triple-quoted strings), and PHP (interpolated variables in heredoc strings).
  • New modes: Textile and Tornado templates.
  • Experimental new way to define modes.
  • Improvements to the Vim bindings: Arbitrary insert mode key mappings are now possible, and text objects are supported in visual mode.
  • The mode meta-information file now includes information about file extensions, and helper functions findModeByMIME and findModeByExtension.
  • New logo!
  • Full list of patches.

4.6.0

06 Aug 11:26

Choose a tag to compare

4.5.0

06 Aug 11:26

Choose a tag to compare

4.4.0

06 Aug 11:26

Choose a tag to compare

  • Note: Some events might now fire in slightly different order ("change" is still guaranteed to fire before "cursorActivity")
  • Nested operations in multiple editors are now synced (complete at same time, reducing DOM reflows)
  • Visual block mode for vim () is nearly complete
  • New mode: Kotlin
  • Better multi-selection paste for text copied from multiple CodeMirror selections
  • Full list of patches.

4.3.0

06 Aug 11:26

Choose a tag to compare

  • Several vim bindings improvements: search and exCommand history, global flag for :substitute, :global command.
  • Allow hiding the cursor by setting cursorBlinkRate to a negative value.
  • Make gutter markers themeable, use this in foldgutter.
  • Full list of patches.

4.2.0

06 Aug 11:26

Choose a tag to compare

  • Fix problem where some modes were broken by the fact that empty tokens were forbidden.
  • Several fixes to context menu handling.
  • On undo, scroll change, not cursor, into view.
  • Rewritten Jade mode.
  • Various improvements to Shell (support for more syntax) and Python (better indentation) modes.
  • New mode: Cypher.
  • New theme: Neo.
  • Support direct styling options (color, line style, width) in the rulers addon.
  • Recognize per-editor configuration for the show-hint and foldcode addons.
  • More intelligent scanning for existing close tags in closetag addon.
  • In the Vim bindings: Fix bracket matching, support case conversion in visual mode, visual paste, append action.
  • Full list of patches.

4.1.0

06 Aug 11:26

Choose a tag to compare

  • Slightly incompatible: The "cursorActivity" event now fires after all other events for the operation (and only for handlers that were actually registered at the time the activity happened).
  • New command: insertSoftTab.
  • New mode: Django.
  • Improved modes: Verilog (rewritten), Jinja2, Haxe, PHP (string interpolation highlighted), JavaScript (indentation of trailing else, template strings), LiveScript (multi-line strings).
  • Many small issues from the 3.x→4.x transition were found and fixed.
  • Full list of patches.

3.24.0

06 Aug 11:26

Choose a tag to compare

Merges the improvements from 4.1 that could easily be applied to the 3.x code. Also improves the way the editor size is updated when line widgets change.

3.23.0

06 Aug 11:26

Choose a tag to compare

  • In the XML mode, add brackets style to angle brackets, fix case-sensitivity of tags for HTML.
  • New mode: Dylan.
  • Many improvements to the Vim bindings.