Skip to content

Tags: loochao/CodeMirror

Tags

5.52.0

Toggle 5.52.0's commit message

Verified

This tag was signed with the committer’s verified signature.
marijnh Marijn Haverbeke
Version 5.52.0

### Bug fixes

Fix a bug in handling of bidi text with Arabic numbers in a right-to-left editor.

Fix a crash when combining file drop with a `"beforeChange"` filter.

Prevent issue when passing negative coordinates to `scrollTo`.

### New features

[lint](https://codemirror.net/doc/manual.html#addon_lint) and [tern](https://codemirror.net/demo/tern.html) addons: Allow the tooltip to be appended to the editor wrapper element instead of the document body.

5.51.0

Toggle 5.51.0's commit message

Verified

This tag was signed with the committer’s verified signature.
marijnh Marijn Haverbeke
Version 5.51.0

### Bug fixes

Fix the behavior of the home and end keys when `direction` is set to `"rtl"`.

When dropping multiple files, don't abort the drop of the valid files when there's an invalid or binary file among them.

Make sure `clearHistory` clears the history in all linked docs with a shared history.

[vim bindings](https://codemirror.net/demo/vim.html): Fix behavior of `'` and `` ` `` marks, fix `R` in visual mode.

### New features

[vim bindings](https://codemirror.net/demo/vim.html): Support `gi`, gI`, and `gJ`.

5.50.2

Toggle 5.50.2's commit message

Verified

This tag was signed with the committer’s verified signature.
marijnh Marijn Haverbeke
Version 5.50.2

### Bug fixes

Fix bug that broke removal of line widgets.

5.50.0

Toggle 5.50.0's commit message

Verified

This tag was signed with the committer’s verified signature.
marijnh Marijn Haverbeke
Version 5.50.0

### Bug fixes

Make Shift-Delete to cut work on Firefox.

[closetag addon](https://codemirror.net/demo/closetag.html): Properly handle self-closing tags.

[handlebars mode](https://codemirror.net/mode/handlebars/): Fix triple-brace support.

[searchcursor addon](https://codemirror.net/doc/manual.html#addon_searchcursor): Support mathing `$` in reverse regexp search.

[panel addon](https://codemirror.net/doc/manual.html#addon_panel): Don't get confused by changing panel sizes.

[javascript-hint addon](https://codemirror.net/doc/manual.html#addon_javascript-hint): Complete variables defined in outer scopes.

[sublime bindings](https://codemirror.net/demo/sublime.html): Make by-subword motion more consistent with Sublime Text.

[julia mode](https://codemirror.net/mode/julia/): Don't break on zero-prefixed integers.

[elm mode](https://codemirror.net/mode/elm/): Sync with upstream version.

[sql mode](https://codemirror.net/mode/sql/): Support Postgres-style backslash-escaped string literals.

### New features

Add a `className` option to [`addLineWidget`](https://codemirror.net/doc/manual.html#addLineWidget).

[foldcode addon](https://codemirror.net/doc/manual.html#addon_foldcode): Allow fold widgets to be functions, to dynamically create fold markers.

New themes: [ayu-dark](https://codemirror.net/demo/theme.html#ayu-dark) and [ayu-mirage](https://codemirror.net/demo/theme.html#ayu-mirage).

5.49.2

Toggle 5.49.2's commit message

Verified

This tag was signed with the committer’s verified signature.
marijnh Marijn Haverbeke
Version 5.49.2

### Bug fixes

[sublime bindings](https://codemirror.net/demo/sublime.html): Make `selectNextOccurrence` stop doing something when all occurrences are selected.

[continuecomment addon](https://codemirror.net/doc/manual.html#addon_continuecomment): Respect `indentWithTabs` option.

[foldgutter addon](https://codemirror.net/doc/manual.html#addon_foldgutter): Optimize by reusing DOM when possible.

[markdown mode](https://codemirror.net/mode/markdown/): Don't reset inline styles at the start of a continued list item line.

[clike mode](https://codemirror.net/mode/clike/): Add a configuration for Objective-C++.

5.49.0

Toggle 5.49.0's commit message

Verified

This tag was signed with the committer’s verified signature.
marijnh Marijn Haverbeke
Version 5.49.0

### Bug fixes

[octave mode](https://codemirror.net/mode/octave/index.html): Don't mark common punctuation as error.

[clike mode](https://codemirror.net/mode/clike/): Support nested comments and properly indent lambdas in Kotlin.

[foldgutter](https://codemirror.net/doc/manual.html#addon_foldgutter) and [annotatescrollbar](https://codemirror.net/doc/manual.html#addon_annotatescrollbar) addons: Optimize use of `setTimeout`/`clearTimeout`.

### New features

New themes: [moxer](https://codemirror.net/demo/theme.html#moxer), [material-darker](https://codemirror.net/demo/theme.html#material-darker), [material-palenight](https://codemirror.net/demo/theme.html#material-palenight), [material-ocean](https://codemirror.net/demo/theme.html#material-ocean).

[xml mode](https://codemirror.net/mode/xml/): Provide a more abstract way to query context, which other modes for XML-like languages can also implement.

5.48.4

Toggle 5.48.4's commit message

Verified

This tag was signed with the committer’s verified signature.
marijnh Marijn Haverbeke
Version 5.48.4

### Bug fixes

Make default styles for line elements more specific so that they don't apply to all `<pre>` elements inside the editor.

Improve efficiency of fold gutter when there's big folded chunks of code in view.

Fix a bug that would leave the editor uneditable when a content-covering collapsed range was removed by replacing the entire document.

[julia mode](https://codemirror.net/mode/julia/): Support number separators.

[asterisk mode](https://codemirror.net/mode/asterisk/): Improve comment support.

[handlebars mode](https://codemirror.net/mode/handlebars/): Support triple-brace tags.

5.48.2

Toggle 5.48.2's commit message

Verified

This tag was signed with the committer’s verified signature.
marijnh Marijn Haverbeke
Version 5.48.2

### Bug fixes

[vim bindings](https://codemirror.net/demo/vim.html): Adjust char escape substitution to match vim, support `&/$0`.

[search addon](https://codemirror.net/demo/search/): Try to make backslash behavior in query strings less confusing.

[javascript mode](https://codemirror.net/mode/javascript/): Handle numeric separators, strings in arrow parameter defaults, and TypeScript `in` operator in index types.

[sparql mode](https://codemirror.net/mode/sparql/index.html): Allow non-ASCII identifier characters.

5.48.0

Toggle 5.48.0's commit message

Verified

This tag was signed with the committer’s verified signature.
marijnh Marijn Haverbeke
Version 5.48.0

### Bug fixes

Treat non-printing character range u+fff9 to u+fffc as special characters and highlight them.

[show-hint addon](https://codemirror.net/doc/manual.html#addon_show-hint): Fix positioning when the dialog is placed in a scrollable container.

### New features

Add [`selectLeft`](https://codemirror.net/doc/manual.html#mark_selectLeft)/[`selectRight`](https://codemirror.net/doc/manual.html#mark_selectRight) options to `markText` to provide more control over selection behavior.

5.47.0

Toggle 5.47.0's commit message

Verified

This tag was signed with the committer’s verified signature.
marijnh Marijn Haverbeke
Version 5.47.0

### Bug fixes

[python mode](https://codemirror.net/mode/python/): Properly handle `...` syntax.

[ruby mode](https://codemirror.net/mode/ruby): Fix indenting before closing brackets.

[vim bindings](https://codemirror.net/demo/vim.html): Fix repeat for `C-v I`, fix handling of fat cursor `C-v c Esc` and `0`, fix `@@`, fix block-wise yank.

### New features

[vim bindings](https://codemirror.net/demo/vim.html): Add support for `` ` `` text object.