CodeMirror 5.47.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.47.0 is released.


Bug fixes

python mode: Properly handle ... syntax.

ruby mode: Fix indenting before closing brackets.

vim bindings: Fix repeat for C-v I, fix handling of fat cursor C-v c Esc and 0, fix @@, fix block-wise yank.

New features

vim bindings: Add support for ` text object.