Tags: ayumi/CodeMirror
Tags
Version 5.59.2 ### Bug fixes Don't try to scroll the selection into view in `readonly: "nocursor"` mode. [closebrackets addon](https://codemirror.net/doc/manual.html#addon_closebrackets): Fix a regression in the behavior of pressing enter between brackets. [javascript mode](https://codemirror.net/mode/javascript/): Fix an infinite loop on specific syntax errors in object types. various modes: Fix inefficient RegExp matching.
Version 5.59.0 ### Bug fixes Fix platform detection on recent iPadOS. [lint addon](https://codemirror.net/doc/manual.html#addon_lint): Don't show duplicate messages for a given line. [clojure mode](https://codemirror.net/mode/clojure/index.html): Fix regexp that matched in exponential time for some inputs. [hardwrap addon](https://codemirror.net/doc/manual.html#addon_hardwrap): Improve handling of words that are longer than the line length. [matchbrackets addon](https://codemirror.net/doc/manual.html#addon_matchbrackets): Fix leaked event handler on disabling the addon. ### New features [search addon](https://codemirror.net/demo/search/): Make it possible to configure the search addon to show the dialog at the bottom of the editor.
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](https://codemirror.net/mode/soy/): Support `@Attribute` and element composition. [shell mode](https://codemirror.net/mode/shell/): Support heredoc quoting.
Version 5.58.1 ### Bug fixes [placeholder addon](https://codemirror.net/doc/manual.html#addon_placeholder): Remove arrow function that ended up in the code.
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](https://codemirror.net/doc/manual.html#addon_placeholder): Update placeholder visibility during composition. ### New features Make it less cumbersome to style new lint message types. [vim bindings](https://codemirror.net/demo/vim.html): Support black hole register, `gn` and `gN`
Version 5.57.0 ### Bug fixes Fix issue that broke binding the macOS Command key. [comment addon](https://codemirror.net/doc/manual.html#addon_comment): Keep selection in front of inserted markers when adding a block comment. [css mode](https://codemirror.net/mode/css/): Recognize more properties and value names. [annotatescrollbar addon](https://codemirror.net/doc/manual.html#addon_annotatescrollbar): Don't hide matches in collapsed content. ### New features [vim bindings](https://codemirror.net/demo/vim.html): Support tag text objects in xml and html modes.
Version 5.56.0 ### Bug fixes Line-wise pasting was fixed on Chrome Windows. [wast mode](https://codemirror.net/mode/wast/): Follow standard changes. [soy mode](https://codemirror.net/mode/soy/): Support import expressions, template type, and loop indices. [sql-hint addon](https://codemirror.net/doc/manual.html#addon_sql-hint): Improve handling of double quotes. ### New features [show-hint addon](https://codemirror.net/doc/manual.html#addon_show-hint): New option `scrollMargin` to control how many options are visible beyond the selected one. [hardwrap addon](https://codemirror.net/doc/manual.html#addon_hardwrap): New option `forceBreak` to disable breaking of words that are longer than a line.
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](https://codemirror.net/demo/vim.html): Fix an issue where the `vim-mode-change` event was fired twice. [javascript mode](https://codemirror.net/mode/javascript/): Only allow `-->`-style comments at the start of a line. [julia mode](https://codemirror.net/mode/julia/): Improve indentation. [pascal mode](https://codemirror.net/mode/pascal/index.html): Recognize curly bracket comments. [runmode addon](https://codemirror.net/doc/manual.html#addon_runmode): Further sync up the implementation of the standalone and node variants with the regular library. ### New features [loadmode addon](https://codemirror.net/doc/manual.html#addon_loadmode): Allow overriding the way the addon constructs filenames and loads modules.
PreviousNext