使用标签,可以标记提交历史上的特定点为重要提交
  • 5.61.0   Version 5.61.0 ### Bug fixes Improve support for being in a shadow DOM in contenteditable mode. Prevent line number from being read by screen readers. [show-hint addon](https://codemirror.net/doc/manual.html#addon_show-hint): Fix a crash caused by a race condition. [javascript mode](https://codemirror.net/mode/javascript/): Improve scope tracking. ### New features The library now emits an `"updateGutter"` event when the gutter width changes. [emacs bindings](https://codemirror.net/demo/emacs.html): Provide named commands for all bindings.
    eac70bb1 · Mark version 5.61.0 ·
    Release 5.61.0
  • 5.60.0   Version 5.60.0 ### Bug fixes Fix autofocus feature in contenteditable mode. [simple mode addon](https://codemirror.net/demo/simplemode.html): Fix a null-dereference crash. [multiplex addon](https://codemirror.net/demo/multiplex.html): Make it possible to use `parseDelimiters` when both delimiters are the same. [julia mode](https://codemirror.net/mode/julia/): Fix a lockup bug. ### New features `setSelections` now allows ranges to omit the `head` property when it is equal to `anchor`. [sublime bindings](https://codemirror.net/demo/sublime.html): Add support for reverse line sorting.
    51fdbcc2 · Mark version 5.60.0 ·
    Release 5.60.0
  • 5.59.4   Version 5.59.4 ### Bug fixes Give the scrollbar corner filler a background again, to prevent content from peeping through between the scrollbars.
    96c0e346 · Mark version 5.59.4 ·
    Release 5.59.4
  • 5.59.3   Version 5.59.3 ### Bug fixes Don't override the way zero-with non-joiners are rendered. Fix an issue where resetting the history cleared the `undoDepth` option's value. [vim bindings](https://codemirror.net/demo/vim.html): Fix substitute command when joining and splitting lines, fix global command when line number change, add support for `:vglobal`, properly treat caps lock as a modifier key.
    77f7eaf8 · Mark version 5.59.3 ·
    Release 5.59.3
  • 5.59.2   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.
    48487ee8 · Mark version 5.59.2 ·
    Release 5.59.2
  • 5.59.1   Version 5.59.1 ### Bug fixes Fix an issue where some Chrome browsers were detected as iOS.
    bd37a96d · Mark version 5.59.1 ·
    Release 5.59.1
  • 5.59.0   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.
    e49f2950 · Mark release 5.59.0 ·
    Release 5.59.0
  • 5.58.3   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.
    a53e8606 · Mark version 5.58.3 ·
    Release 5.58.3
  • 5.58.2
    264022ee · Mark version 5.58.2 ·
    Release 5.58.2
  • 5.58.1   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.
    1c60749b · Mark version 5.58.1 ·
    Release 5.58.1
  • 5.58.0   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`
    76590dcb · Mark version 5.58.0 ·
    Release 5.58.0
  • 5.57.0   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.
    7f525bb7 · Mark version 5.57.0 ·
    Release 5.57.0
  • 5.56.0   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.
    772d09e6 · Mark version 5.56.0 ·
    Release 5.56.0
  • 5.55.0   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.
    41077c86 · Mark version 5.55.0 ·
    Release 5.55.0
  • 5.54.0   Version 5.54.0 ### Bug fixes Improve support for having focus inside in-editor widgets in contenteditable-mode. Fix issue where the scroll position could jump when clicking on a selection in Chrome. [python mode](https://codemirror.net/mode/python/): Better format string support. [javascript mode](https://codemirror.net/mode/javascript/): Improve parsing of private properties and class fields. [matchbrackets addon](https://codemirror.net/doc/manual.html#addon_matchbrackets): Disable highlighting when the editor doesn't have focus. ### New features [runmode addon](https://codemirror.net/doc/manual.html#addon_runmode): Properly support for cross-line lookahead. [vim bindings](https://codemirror.net/demo/vim.html): Allow Ex-Commands with non-word names. [gfm mode](https://codemirror.net/mode/gfm/): Add a `fencedCodeBlockDefaultMode` option.
    a5497d1c · Mark version 5.54.0 ·
    Release 5.54.0
  • 5.53.2   Version 5.53.2 ### Bug fixes [show-hint addon](https://codemirror.net/doc/manual.html#addon_show-hint): Fix a regression that broke completion picking.
    757764d1 · Mark version 5.53.2 ·
    Release 5.53.2
  • 5.53.0   Version 5.53.0 ### Bug fixes Fix a bug where the editor layout could remain confused after a call to `refresh` when line wrapping was enabled. [dialog addon](https://codemirror.net/doc/manual.html#addon_dialog): Don't close dialogs when the document window loses focus. [merge addon](https://codemirror.net/doc/manual.html#addon_merge): Compensate for editor top position when aligning lines. [vim bindings](https://codemirror.net/demo/vim.html): Improve EOL handling. [emacs bindings](https://codemirror.net/demo/emacs.html): Include default keymap as a fallback. [julia mode](https://codemirror.net/mode/julia/): Fix an infinite loop bug. [show-hint addon](https://codemirror.net/doc/manual.html#addon_show-hint): Scroll cursor into view when picking a completion. ### New features New option: [`screenReaderLabel`](https://codemirror.net/doc/manual.html#option_screenReaderLabel) to add a label to the editor. New mode: [wast](https://codemirror.net/mode/wast/).
    bfe88aa1 · Mark version 5.53.0 ·
    Release 5.53.0
  • 5.52.2   Version 5.52.2 ### Bug fixes Fix selection management in contenteditable mode when the editor doesn't have focus. Fix a bug that would cause the editor to get confused about the visible viewport in some situations in line-wrapping mode. [markdown mode](https://codemirror.net/mode/markdown/): Don't treat single dashes as setext header markers. [zenburn theme](https://codemirror.net/demo/theme.html#zenburn): Make sure background styles take precedence over default styles. [css mode](https://codemirror.net/mode/css/): Recognize a number of new properties.
    ac9e655b · Mark version 5.52.2 ·
    Release 5.52.2
  • 5.52.0   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.
    56306179 · Mark version 5.52.0 ·
    Release 5.52.0
  • 5.51.0   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`.
    19b75cbf · Mark version 5.51.0 ·
    Release 5.51.0