This repository was archived by the owner on May 3, 2024. It is now read-only.
chore(deps): update dependency @codemirror/commands to v6 #61
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
0.19.3->6.5.0Release Notes
codemirror/commands (@codemirror/commands)
v6.5.0Compare Source
New features
The
insertNewlineKeepIndentcommand inserts a newline along with the same indentation as the line before.v6.4.0Compare Source
Bug fixes
Fix an issue where
deleteLinesometimes leaves the cursor on the wrong line.New features
The new
deleteCharBackwardStrictcommand just deletes a character, without further smart behavior around indentation.v6.3.3Compare Source
Bug fixes
Fix an issue causing cursor motion commands to not dispatch a transaction when the change only affects cursor associativity.
v6.3.2Compare Source
Bug fixes
Fix a regression that caused
deleteCharBackwardto sometimes delete a large chunk of text.v6.3.1Compare Source
Bug fixes
When undoing, store the selection after the undone change with the redo event, so that redoing restores it.
deleteCharBackwardwill no longer delete variant selector characters as separate characters.v6.3.0Compare Source
Bug fixes
Make it possible for
selectParentSyntaxto 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
deleteLineBoundaryForwardanddeleteLineBoundaryBackwardcommands delete to the start/end of the line or the next line wrapping point.v6.2.5Compare Source
Bug fixes
Make
insertNewlineAndIndentproperly 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
insertNewlineAndIndentthat would delete text between brackets if it had no corresponding AST node.v6.2.4Compare Source
Bug fixes
The by-subword motion commands now properly treat dashes, underscores, and similar as subword separators.
v6.2.3Compare Source
Bug fixes
Block commenting the selection no longer includes indentation on the first line.
v6.2.2Compare Source
Bug fixes
Fix a bug where line commenting got confused when commenting a range that crossed language boundaries.
v6.2.1Compare Source
Bug fixes
Keep cursor position stable in
cursorPageUp/cursorPageDownwhen there are panels or other scroll margins active.Make sure
toggleCommentdoesn't get thrown off by local language nesting, by fetching the language data for the start of the selection line.v6.2.0Compare Source
New features
The new
joinToEventhistory configuration option allows you to provide custom logic that determines whether a new transaction is added to an existing history event.v6.1.3Compare Source
Bug fixes
Preserve selection bidi level when extending the selection, to prevent shift-selection from getting stuck in some kinds of bidirectional text.
v6.1.2Compare Source
Bug fixes
Fix a bug that caused deletion commands on non-empty ranges to incorrectly return false and do nothing, causing the editor to fall back to native behavior.
v6.1.1Compare Source
Bug fixes
Make sure the selection endpoints are moved out of atomic ranges when applying a deletion command to a non-empty selection.
v6.1.0Compare Source
Bug fixes
Prevent native behavior on Ctrl/Cmd-ArrowLeft/ArrowRight bindings, so that browsers with odd bidi behavior won't do the wrong thing at start/end of line.
Cmd-ArrowLeft/Right on macOS now moves the cursor in the direction of the arrow even in right-to-left content.
New features
The new
cursorLineBoundaryLeft/RightandselectLineBoundaryLeft/Rightcommands allow directional motion to line boundaries.v6.0.1Compare Source
Bug fixes
Announce to the screen reader when the selection is deleted.
Also bind Ctrl-Shift-z to redo on Linux.
v6.0.0Compare Source
Bug fixes
Fix a bug where by-page selection commands sometimes moved one line too far.
v0.20.0Compare Source
Breaking changes
There is no longer a separate
commentKeymap. Those bindings are now part ofdefaultKeymap.Bug fixes
Make
cursorPageUpandcursorPageDownmove by window height when the editor is higher than the window.Make sure the default behavior of Home/End is prevented, since it could produce unexpected results on macOS.
New features
The exports from @codemirror/comment are now available in this package.
The exports from the @codemirror/history package are now available from this package.
v0.19.8Compare Source
Bug fixes
deleteCharBackwardnow removes extending characters one at a time, rather than deleting the entire glyph at once.Alt-v is no longer bound in
emacsStyleKeymapand macOS'sstandardKeymap, because macOS doesn't bind it by default and it conflicts with some keyboard layouts.v0.19.7Compare Source
Bug fixes
Don't bind Alt-< and Alt-> on macOS by default, since those interfere with some keyboard layouts. Make cursorPageUp/Down scroll the view to keep the cursor in place
cursorPageUpandcursorPageDownnow scroll the view by the amount that the cursor moved.v0.19.6Compare Source
Bug fixes
The standard keymap no longer overrides Shift-Delete, in order to allow the native behavior of that key to happen on platforms that support it.
v0.19.5Compare Source
New features
Adds an
insertBlankLinecommand which creates an empty line below the selection, and binds it to Mod-Enter in the default keymap.v0.19.4Compare Source
Bug fixes
Make commands that affect the editor's content check
state.readOnlyand return false when that is true.Configuration
📅 Schedule: Branch creation - "before 3am on Monday" in timezone Europe/Berlin, Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR has been generated by Mend Renovate. View repository job log here.