[go: up one dir, main page]

Skip to content

Tags: codemirror/commands

Tags

6.6.2

Toggle 6.6.2's commit message
Version 6.6.2

### Bug fixes

Fix an issue causing `selectParentSyntax` to not select syntax that is a direct child of the top node.

Make `selectParentSyntax` return false when it doesn't change the selection.

6.6.1

Toggle 6.6.1's commit message
Version 6.6.1

### Bug fixes

Fix a bug in the undo history that would cause it to incorrectly track inverted effects when adding multiple edits to a single history event.

6.6.0

Toggle 6.6.0's commit message
Version 6.6.0

### New features

The new `toggleTabFocusMode` and `temporarilySetTabFocusMode` commands provide control over the view's tab-focus mode.

The default keymap now binds Ctrl-m (Shift-Alt-m on macOS) to `toggleTabFocusMode`.

6.5.0

Toggle 6.5.0's commit message
Version 6.5.0

### New features

The `insertNewlineKeepIndent` command inserts a newline along with the same indentation as the line before.

6.4.0

Toggle 6.4.0's commit message
Version 6.4.0

### Bug fixes

Fix an issue where `deleteLine` sometimes leaves the cursor on the wrong line.

### New features

The new `deleteCharBackwardStrict` command just deletes a character, without further smart behavior around indentation.

6.3.3

Toggle 6.3.3's commit message
Version 6.3.3

### Bug fixes

Fix an issue causing cursor motion commands to not dispatch a transaction when the change only affects cursor associativity.

6.3.2

Toggle 6.3.2's commit message
Version 6.3.2

### Bug fixes

Fix a regression that caused `deleteCharBackward` to sometimes delete a large chunk of text.

6.3.1

Toggle 6.3.1's commit message
Version 6.3.1

### Bug fixes

When undoing, store the selection after the undone change with the redo event, so that redoing restores it.

`deleteCharBackward` will no longer delete variant selector characters as separate characters.

6.3.0

Toggle 6.3.0's commit message
Version 6.3.0

### Bug fixes

Make it possible for `selectParentSyntax` to jump out of or into a syntax tree overlay.

Make Cmd-Backspace and Cmd-Delete on macOS delete to the next line wrap point, not the start/end of the line.

### New features

The new `deleteLineBoundaryForward` and `deleteLineBoundaryBackward` commands delete to the start/end of the line or the next line wrapping point.

6.2.5

Toggle 6.2.5's commit message
Version 6.2.5

### Bug fixes

Make `insertNewlineAndIndent` properly count indentation for tabs when copying over the previous line's indentation.

The various sub-word motion commands will now use `Intl.Segmenter`, when available, to stop at CJK language word boundaries.

Fix a bug in `insertNewlineAndIndent` that would delete text between brackets if it had no corresponding AST node.