CodeMirror release 4.9

31 views
Skip to first unread message

Marijn Haverbeke

unread,
Dec 23, 2014, 7:03:56 PM12/23/14
to CodeMirror, CodeMirror-announce
Hi all,

Version 4.9 of CodeMirror just came out. The main new thing is a big
change to the way scrolling is handled internally. The new system,
which makes the hidden browser scrollbars always on (overflow:
scroll), should be less fragile, and allows for nice things like a
pluggable scrollbar implementation. On the downside, this a big change
to a delicate part of the codebase, so upgrade with care.

The other changes are:

* Tweaked behavior for the completion addons to not take text after
cursor into account.
* Two new optional features in the merge addon: aligning editors, and
folding unchanged text.
* New modes: Dart, EBNF, spreadsheet, and Soy.
* New addon to show persistent panels below/above an editor.
* New themes: zenburn and tomorrow night bright.
* Allow ctrl-click to clear existing cursors.

All patches since 4.8 are listed at
https://github.com/codemirror/CodeMirror/compare/4.8.0...4.9.0
The zip file is http://codemirror.net/codemirror-4.9.zip

Best,
Marijn

Marijn Haverbeke

unread,
Dec 29, 2014, 7:12:20 AM12/29/14
to CodeMirror, CodeMirror-announce
Update: A somewhat bad bug snuck into 4.9. On Firefox, if there was a
horizontal scrollbar present, the document wouldn't be able to
vertically scroll far enough, causing the cursor to end up behind the
horizontal scrollbar. I've released 4.10 which fixes this (and only
this). Get it from http://codemirror.net/codemirror-4.10.zip
Reply all
Reply to author
Forward
0 new messages