CodeMirror 5.43.0 releases, multi-function online code editor


CodeMirror is a versatile text editor implemented in JavaScript for the browser. It is specialized for editing code, and comes with over 100 language modes and various addons that implement more advanced editing functionality. Every language comes with fully-featured code and syntax highlighting to help with reading and editing complex code.

CodeMirror works with language-specific modes. Modes are JavaScript programs that help color (and optionally indent) text written in a given language. The distribution comes with a number of modes (see the mode/ directory), and it isn’t hard to write new ones for other languages.codemirror

CodeMirror 5.43.0 is released.


Bug fixes

  • Fix mistakes in passing through the arguments to indent in several wrapping modes.
  • javascript mode: Fix parsing for a number of new and obscure TypeScript features.
  • ruby mode: Support indented end tokens for heredoc strings.

New features

  • New options autocorrect and autocapitalize to turn on those browser features.