Release 5.31.0

We’ve got a new version. Some new patches happened, and there’s a zip file available.

Release notes

Bug fixes

Further improve selection drawing and cursor motion in right-to-left documents.

vim bindings: Fix ctrl-w behavior, support quote-dot and backtick-dot marks, make the wide cursor visible in contentEditable input mode.

continuecomment addon: Fix bug when pressing enter after a single-line block comment.

markdown mode: Fix issue with leaving indented fenced code blocks.

javascript mode: Fix bad parsing of operators without spaces between them. Fix some corner cases around semicolon insertion and regexps.

New features

Modes added with addOverlay now have access to a baseToken method on their input stream, giving access to the tokens of the underlying mode.