Changelog History
Page 9
-
v5.22.0 Changes
December 20, 2016๐ Bug fixes
sublime bindings: Make
selectBetweenBrackets
work with multiple cursors.๐ javascript mode: Fix issues with parsing complex TypeScript types, imports, and exports.
A contentEditable editor instance with autofocus enabled no longer crashes during initializing.
๐ New features
๐ emacs bindings: Export
CodeMirror.emacs
to allow other addons to hook into Emacs-style functionality.active-line addon: Add
nonEmpty
option.๐ New event:
optionChange
. -
v5.21.0 Changes
November 21, 2016๐ Bug fixes
๐ Tapping/clicking the editor in contentEditable mode on Chrome now puts the cursor at the tapped position.
๐ Fix various crashes and misbehavior when reading composition events in contentEditable mode.
Catches and ignores an IE 'Unspecified Error' when creating an editor in an iframe before there is a
<body>
.๐ merge addon: Fix several issues in the chunk-aligning feature.
verilog mode: Rewritten to address various issues.
julia mode: Recognize Julia 0.5 syntax.
๐ swift mode: Various fixes and adjustments to current syntax.
markdown mode: Allow lists without a blank line above them.
๐ New features
The
setGutterMarker
,clearGutter
, andlineInfo
methods are now available onDoc
objects.The
heightAtLine
method now takes an extra argument to allow finding the height at the top of the line's line widgets.๐ ruby mode:
else
andelsif
are now immediately indented.vim bindings: Bind Ctrl-T and Ctrl-D to in- and dedent in insert mode.
-
v5.20.2 Changes
October 21, 2016๐ Bug fixes
๐ Fix
CodeMirror.version
returning the wrong version number. -
v5.20.0 Changes
October 20, 2016๐ Bug fixes
๐ Make
newlineAndIndent
command work with multiple cursors on the same line.๐ Make sure keypress events for backspace are ignored.
๐ Tokens styled with overlays no longer get a nonsense
cm-cm-overlay
class.Line endings for pasted content are now normalized to the editor's preferred ending.
๐ javascript mode: Improve support for class expressions. Support TypeScript optional class properties, the
abstract
keyword, and return type declarations for arrow functions.css mode: Fix highlighting of mixed-case keywords.
closebrackets addon: Improve behavior when typing a quote before a string.
๐ New features
๐ The core is now maintained as a number of small files, using ES6 syntax and modules, under the
src/
directory. A git checkout no longer contains a workingcodemirror.js
until younpm run build
(but when installing from NPM, it is included).The
refresh
event is now documented and stable. -
v5.19.0 Changes
September 20, 2016๐ Bugfixes
erlang mode: Fix mode crash when trying to read an empty context.
comment addon: Fix broken behavior when toggling comments inside a comment.
xml-fold addon: Fix a null-dereference bug.
Page up and page down now do something even in single-line documents.
๐ Fix an issue where the cursor position could be off in really long (~8000 character) tokens.
๐ New features
๐ javascript mode: Better indentation when semicolons are missing. Better support for TypeScript classes, optional parameters, and the
type
keyword.The
blur
andfocus
events now pass the DOM event to their handlers. -
v5.18.2 Changes
August 23, 2016๐ Bugfixes
vue mode: Fix outdated references to renamed Pug mode dependency.
-
v5.18.0 Changes
August 22, 2016๐ Bugfixes
๐ Make sure gutter backgrounds stick to the rest of the gutter during horizontal scrolling.
๐ The contenteditable
inputStyle
now properly supports pasting on pre-Edge IE versions.๐ javascript mode: Fix some small parsing bugs and improve TypeScript support.
matchbrackets addon: Fix bug where active highlighting was left in editor when the addon was disabled.
match-highlighter addon: Only start highlighting things when the editor gains focus.
javascript-hint addon: Also complete non-enumerable properties.
๐ New features
๐ The
addOverlay
method now supports apriority
option to control the order in which overlays are applied.0๏ธโฃ MIME types that end in
+json
now default to the JSON mode when the MIME itself is not defined.๐ฅ Breaking changes
The mode formerly known as Jade was renamed to Pug.
0๏ธโฃ The Python mode now defaults to Python 3 (rather than 2) syntax.
-
v5.17.0 Changes
July 19, 2016๐ Bugfixes
๐ Fix problem with wrapped trailing whitespace displaying incorrectly.
Prevent IME dialog from overlapping typed content in Chrome.
๐ Improve measuring of characters near a line wrap.
๐ javascript mode: Improve support for
async
, allow trailing commas inimport
lists.vim bindings: Fix backspace in replace mode.
sublime bindings: Fix some key bindings on OS X to match Sublime Text.
๐ New features
markdown mode: Add more classes to image links in highlight-formatting mode.
-
v5.16.0 Changes
June 20, 2016๐ Bugfixes
๐ Fix glitches when dragging content caused by the drop indicator receiving mouse events.
๐ Make Control-drag work on Firefox.
๐ Make clicking or selection-dragging at the end of a wrapped line select the right position.
show-hint addon: Prevent widget scrollbar from hiding part of the hint text.
rulers addon: Prevent rulers from forcing a horizontal editor scrollbar.
๐ New features
search addon: Automatically bind search-related keys in persistent dialog.
sublime keymap: Add a multi-cursor aware smart backspace binding.
-
v5.15.2 Changes
May 20, 2016๐ Bugfixes
๐ Fix a critical document corruption bug that occurs when a document is gradually grown.