chore(deps): update codemirror #84
Open
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:
6.2.0→6.2.16.36.7→6.39.11Release Notes
codemirror/lang-python (@codemirror/lang-python)
v6.2.1Compare Source
Bug fixes
Fix an issue where the indentation logic would too eagerly align lines to the body directly above them.
codemirror/view (@codemirror/view)
v6.39.11Compare Source
Bug fixes
Avoid handling copy events for parent editors.
v6.39.10Compare Source
Bug fixes
Fix a regression in the way widget are reused when content next to them changes.
Make sure font metrics get recomputed on
fonts.readyeven if the line height doesn't change.Fix an issue where compositions next to a widget that create a new text node could get needlessly interrupted during an editor update.
v6.39.9Compare Source
Bug fixes
Fix a bug where
EditorSelection.cursor()with a non-zeroassocvalue would not be visually respected at soft-wrap boundaries on initial view creation.Fix error caused by hover tooltips running a scheduled timeout after their editor has been destroyed.
Fix a bug that caused
EditorView.outerDecorationsto not affect the content height map.Fix an issue where composition near a widget could get unnecessarily interrupted.
v6.39.8Compare Source
Bug fixes
Fix a bug that cause
coordsAtPosto use the dimensions of widget buffers when there were more meaningful elements to use nearby.Fix a data structure corruption that could cause crashes during viewport changes.
v6.39.7Compare Source
Bug fixes
Fix a bug that could sometimes cause the document to become mangled during composition.
v6.39.6Compare Source
Bug fixes
Fix an issue when composing on the boundary of a decoration, where the text after the composition would get garbled.
v6.39.5Compare Source
Bug fixes
Fix an issue where replaced widgets alone on a line weren't reused and didn't get their
updateDOMmethod called.Fix a bug where, when selecting full lines at the end of the document and inserting a character on Chrome, an inappropriate extra newline was inserted.
v6.39.4Compare Source
Bug fixes
Fix a bug where paste events handlers on Chrome could fail to run when pasting on a blank line.
Fix a regression causing the native cursor to get stuck before block widgets with side>0.
Fix a crash in content DOM building after a block widget.
Fix a bug in
posAtCoordsthat would in some circumstances make it return positions on the wrong side of a block widget.v6.39.3Compare Source
Bug fixes
Fix a bug that could corrupt the rendered document in some situations involving adjacent mark decorations of the same type.
v6.39.2Compare Source
Bug fixes
Fix an issue where
moveVertiallywas sometimes unable to escape lines with thick borders or padding.v6.39.1Compare Source
Bug fixes
Restore a workaround for a Chrome selection bug that had regressed in the previous release.
v6.39.0Compare Source
Bug fixes
Properly handle bidirectional text in
posAtCoords.Avoid computing a zero character width (leading to divisions by zero) when the editor is hidden and the browser doesn't have a layout for it.
New features
The
posAndSideAtCoordsmethod is an extended version ofposAtCoordsthat also tells you which side of the position the coordinates are associated with.Add support for block wrappers, decoration-like things that allow extension code to create DOM nodes around groups of lines.
v6.38.8Compare Source
Bug fixes
Improve handling of composition with multiple cursors on MacOS.
Fix an issue where computing a document position from screen coordinates would sometimes go wrong in right-to-left text.
v6.38.7Compare Source
Bug fixes
Make detection of transformed tooltip parent elements (forcing absolute positioning) more robust on current browsers.
Avoid an issue where on Chrome and Safari, typing over a cross-line selection can replace widgets on the line after the selection with their plain text content.
Fix a bug that broke insertion of composed input at multiple cursors when the IME keeps the selection at the start of the composed text.
v6.38.6Compare Source
Bug fixes
Work around a regression in Safari 26 that causes fragments of old selections to remain visible.
v6.38.5Compare Source
Bug fixes
Avoid firing text changes that cover unchanged text on Android.
Fix an issue where the editor could, in some circumstances, insert a stray newline when typing over a document that ended in a block widget.
Work around an issue in Safari 26 that causes inappropriate scrolling on focus in some circumstances.
v6.38.4Compare Source
Bug fixes
Work around a Chrome Android issue where the browser doesn't properly fire composition end events, leaving CodeMirror to believe the user was still composing.
v6.38.3Compare Source
Bug fixes
Work around a rendering bug in Mobile Safari by completely hiding empty layers.
Fix vertical cursor motion in Chrome around decorations with bottom borders or margins.
Fix an issue that caused mark decorations longer than 512 characters to needlessly be split.
Move the cursor out of atomic ranges when text input happens.
v6.38.2Compare Source
Bug fixes
Re-enable falling dispatching keys by key code for Cmd-Alt- combinations on macOS.
Make sure all pointer selections skip atomic ranges.
v6.38.1Compare Source
Bug fixes
Make the keymap not dispatch Alt key combos on macOS by key code, because those are generally used to type special characters.
Fix a layout bug that could occur with very narrow editors.
v6.38.0Compare Source
New features
Gutters can now specify that they should be displayed after the content (which would be to the right in a left-to-right layout).
v6.37.2Compare Source
Bug fixes
Fix an issue where moving the cursor vertically from the one-but-last character on a line would sometimes move incorrectly on Safari.
Fix an issue causing coordinates between lines of text to sometimes be inappropriately placed at the end of the line by
posAtCoords.v6.37.1Compare Source
Bug fixes
Properly add
creltas a dependency.v6.37.0Compare Source
New features
View plugins can now take an argument, in which case they must be instantiated with their
ofmethod in order to be added to a configuration.The new
showDialogfunction makes it easy to show a notification or prompt using a CodeMirror panel.v6.36.8Compare Source
Bug fixes
Make
logExceptionlog errors to the console whenonerrorreturns a falsy value.Fix an issue in
MatchDecoratorcausingupdateDecoto sometimes not do the right thing for deletions.Configuration
📅 Schedule: Branch creation - Between 12:00 AM and 03:59 AM, on day 1 of the month ( * 0-3 1 * * ) (UTC), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
👻 Immortal: This PR will be recreated if closed unmerged. Get config help if that's undesired.
This PR was generated by Mend Renovate. View the repository job log.