CodeMirror v5.12.0 Release Notes

Release Date: 2016-02-19 // about 8 years ago
  • ๐Ÿ†• New features

    Vim bindings: Ctrl-Q is now an alias for Ctrl-V.

    Vim bindings: The Vim API now exposes an unmap method to unmap bindings.

    ๐Ÿ’… active-line addon: This addon can now style the active line's gutter.

    FCL mode: Newly added.

    SQL mode: Now has a Postgresql dialect.

    ๐Ÿ›  Bugfixes

    ๐Ÿ›  Fix issue where trying to scroll to a horizontal position outside of the document's width could cause the gutter to be positioned incorrectly.

    โ†ช Use absolute, rather than fixed positioning in the context-menu intercept hack, to work around a problem when the editor is inside a transformed parent container.

    Solve a problem where the horizontal scrollbar could hide text in Firefox.

    ๐Ÿ›  Fix a bug that caused phantom scroll space under the text in some situations.

    Sublime Text bindings: Bind delete-line to Shift-Ctrl-K on OS X.

    ๐Ÿ“œ Markdown mode: Fix issue where the mode would keep state related to fenced code blocks in an unsafe way, leading to occasional corrupted parses.

    Markdown mode: Ignore backslashes in code fragments.

    ๐Ÿ“œ Markdown mode: Use whichever mode is registered as text/html to parse HTML.

    Clike mode: Improve indentation of Scala => functions.

    Python mode: Improve indentation of bracketed code.

    ๐Ÿ’… HTMLMixed mode: Support multi-line opening tags for sub-languages (<script>, <style>, etc).

    Spreadsheet mode: Fix bug where the mode did not advance the stream when finding a backslash.

    ๐Ÿ”ง XML mode: The mode now takes a matchClosing option to configure whether mismatched closing tags should be highlighted as errors.