CodeMirror release 4.4

37 views
Skip to first unread message

Marijn Haverbeke

unread,
Jul 21, 2014, 2:57:44 AM7/21/14
to CodeMirror, CodeMirror-announce
Good morning everybody.

Today marks the release of CodeMirror version 4.4, which is a rather
unremarkable bugfix release except for these points:

* Visual block mode for vim (<C-v>) is now nearly complete
* New mode: Kotlin
* Better multi-selection paste for text copied from multiple
CodeMirror selections
* Nested operations in multiple editors are now synced (complete at
same time, reducing DOM reflows)

The latter change has some impact on the order in which some events
fire. The "change" event is still guaranteed to fire before
"cursorActivity" (the only guaranteed ordering). Events that are
delayed until the end of an operation now fire inside of that
operation, rather than after it, to prevent unnecessary DOM updates.
If your event handler inspects the editor's DOM structure (a bad idea,
in general), you might get different results in 4.4.

All the patches are listed at
https://github.com/marijnh/CodeMirror/compare/4.3.0...4.4.0
The zip file is http://codemirror.net/codemirror-4.4.zip

Enjoy,
Marijn
Reply all
Reply to author
Forward
0 new messages