Skip to content

Releases: codemirror/codemirror5

5.59.2

20 Jan 11:52
5.59.2
Compare
Choose a tag to compare

Version 5.59.2

Bug fixes

Don't try to scroll the selection into view in readonly: "nocursor" mode.

closebrackets addon: Fix a regression in the behavior of pressing enter between brackets.

javascript mode: Fix an infinite loop on specific syntax errors in object types.

various modes: Fix inefficient RegExp matching.

5.59.1

31 Dec 12:04
5.59.1
Compare
Choose a tag to compare

Version 5.59.1

Bug fixes

Fix an issue where some Chrome browsers were detected as iOS.

5.59.0

20 Dec 10:53
5.59.0
Compare
Choose a tag to compare

Version 5.59.0

Bug fixes

Fix platform detection on recent iPadOS.

lint addon: Don't show duplicate messages for a given line.

clojure mode: Fix regexp that matched in exponential time for some inputs.

hardwrap addon: Improve handling of words that are longer than the line length.

matchbrackets addon: Fix leaked event handler on disabling the addon.

New features

search addon: Make it possible to configure the search addon to show the dialog at the bottom of the editor.

5.58.3

19 Nov 08:39
5.58.3
Compare
Choose a tag to compare

Version 5.58.3

Bug fixes

Suppress quick-firing of blur-focus events when dragging and clicking on Internet Explorer.

Fix the insertAt option to addLineWidget to actually allow the widget to be placed after all widgets for the line.

soy mode: Support @Attribute and element composition.

shell mode: Support heredoc quoting.

5.58.2

26 Oct 08:10
Compare
Choose a tag to compare
Mark version 5.58.2

5.58.1

23 Sep 08:12
5.58.1
Compare
Choose a tag to compare

Version 5.58.1

Bug fixes

placeholder addon: Remove arrow function that ended up in the code.

5.58.0

21 Sep 07:59
5.58.0
Compare
Choose a tag to compare

Version 5.58.0

Bug fixes

Make backspace delete by code point, not glyph.

Suppress flickering focus outline when clicking on scrollbars in Chrome.

Fix a bug that prevented attributes added via markText from showing up unless the span also had some other styling.

Suppress cut and paste context menu entries in readonly editors in Chrome.

placeholder addon: Update placeholder visibility during composition.

New features

Make it less cumbersome to style new lint message types.

vim bindings: Support black hole register, gn and gN

5.57.0

20 Aug 08:30
5.57.0
Compare
Choose a tag to compare

Version 5.57.0

Bug fixes

Fix issue that broke binding the macOS Command key.

comment addon: Keep selection in front of inserted markers when adding a block comment.

css mode: Recognize more properties and value names.

annotatescrollbar addon: Don't hide matches in collapsed content.

New features

vim bindings: Support tag text objects in xml and html modes.

5.56.0

20 Jul 20:30
5.56.0
Compare
Choose a tag to compare

Version 5.56.0

Bug fixes

Line-wise pasting was fixed on Chrome Windows.

wast mode: Follow standard changes.

soy mode: Support import expressions, template type, and loop indices.

sql-hint addon: Improve handling of double quotes.

New features

show-hint addon: New option scrollMargin to control how many options are visible beyond the selected one.

hardwrap addon: New option forceBreak to disable breaking of words that are longer than a line.

5.55.0

21 Jun 13:41
5.55.0
Compare
Choose a tag to compare

Version 5.55.0

Bug fixes

The editor no longer overrides the rendering of zero-width joiners (allowing combined emoji to be shown).

vim bindings: Fix an issue where the vim-mode-change event was fired twice.

javascript mode: Only allow -->-style comments at the start of a line.

julia mode: Improve indentation.

pascal mode: Recognize curly bracket comments.

runmode addon: Further sync up the implementation of the standalone and node variants with the regular library.

New features

loadmode addon: Allow overriding the way the addon constructs filenames and loads modules.