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.