Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update CodeMirror #1548

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open

Update CodeMirror #1548

wants to merge 1 commit into from

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Nov 23, 2024

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
@codemirror/autocomplete 6.18.1 -> 6.18.4 age adoption passing confidence
@codemirror/commands 6.7.1 -> 6.8.0 age adoption passing confidence
@codemirror/language 6.10.3 -> 6.10.8 age adoption passing confidence
@codemirror/state 6.4.1 -> 6.5.1 age adoption passing confidence
@codemirror/view 6.34.1 -> 6.36.2 age adoption passing confidence

Warning

Some dependencies could not be looked up. Check the Dependency Dashboard for more information.


Release Notes

codemirror/autocomplete (@​codemirror/autocomplete)

v6.18.4

Compare Source

Bug fixes

Align the behavior of snippet completions with text completions in that they overwrite the selected text.

v6.18.3

Compare Source

Bug fixes

Backspacing to the start of the completed range will no longer close the completion tooltip when it was triggered implicitly by typing the character before that range.

v6.18.2

Compare Source

Bug fixes

Don't immediately show synchronously updated completions when there are some sources that still need to return.

codemirror/commands (@​codemirror/commands)

v6.8.0

Compare Source

New features

The new cursorGroupForwardWin and selectGroupForwardWin commands implement Windows-style forward motion by group.

codemirror/language (@​codemirror/language)

v6.10.8

Compare Source

Bug fixes

Fix a regression introduced 6.10.7 that caused indention to sometimes crash on nested language boundaries.

v6.10.7

Compare Source

Bug fixes

Fix an issue where indentation for a stream language would fail to work when the parse covered only part of the document, far from the start.

Make sure the inner mode gets a chance to indent when indenting right at the end of a nested language section.

v6.10.6

Compare Source

Bug fixes

Fix a crash in StreamLanguage when the input range is entirely before the editor viewport.

v6.10.5

Compare Source

Bug fixes

Fix an issue where a StreamLanguage could get confused when trying to reuse existing parse data when the parsed range changed.

v6.10.4

Compare Source

Bug fixes

Join adjacent tokens of the same type into a single token in .

Call stream language indent functions even when the language is used as a nested parser.

Fix a crash in StreamParser when a parse was resumed with different input ranges.

codemirror/state (@​codemirror/state)

v6.5.1

Compare Source

Bug fixes

countColumn no longer loops infinitely when given a to that's higher than the input string's length.

v6.5.0

Compare Source

New features

RangeSet.compare now supports a boundChange callback that is called when there's a change in the way ranges are split.

codemirror/view (@​codemirror/view)

v6.36.2

Compare Source

Bug fixes

Fix an issue where some kinds of relayouts could put the editor in a state where it believed it wasn't in window, preventing relayout, though it in fact was.

Make sure macOS double-space-to-period conversions are properly suppressed.

Fix an issue where native selection changes, such as mobile spacebar-drag, weren't being picked up in edit context mode.

v6.36.1

Compare Source

Bug fixes

Fix a crash in MatchDecorator when updating matches at the end of the document.

v6.36.0

Compare Source

Bug fixes

Make selection rectangles verticaly align precisely, rather than introducing a slight overlap.

Fix an issue in MatchDecorator that caused it to fully rebuild its decorations on normal edits.

New features

View updates now have a viewportMoved flag that is only true when a viewport change originated from something other than mapping the viewport over a document change.

v6.35.3

Compare Source

Bug fixes

Fix an issue where mark decorations that got merged or split weren't properly redrawn.

Avoid spurious focus events by not updating the DOM selection when the editor is unfocused but focusable.

Disable writingsuggestions for the editable element, to opt out of Safari's new intelligence completions (which mess up in the editor).

v6.35.2

Compare Source

Bug fixes

Fix an issue on Chrome where typing at the end of the document would insert a character after the cursor.

v6.35.1

Compare Source

Bug fixes

Work around another crash caused by incorrect composition positions reported by EditContext.

Stop disabling custom cursors on Safari version 11.4 and up, which support caret-color.

Fix an issue where a tooltip with wrapped content could, in some circumstances, fail to find a stable position due to a cyclic dependency between its width and its position.

v6.35.0

Compare Source

New features

Tooltips can now use the clip option to control whether they are hidden when outside the visible editor content.

v6.34.3

Compare Source

Bug fixes

Make sure positions covered by a gutter or a panel aren't treated as visible for the purpose of displaying tooltips.

Properly include the tooltip arrow height when checking whether a tooltip fits in its preferred above/below position.

Fix an issue with compositions on Chrome inserting their content in the wrong position when another document change came in during composition.

v6.34.2

Compare Source

Bug fixes

Fix the default cursor color for dark themes, which was way too dark.


Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), 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.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

Copy link

netlify bot commented Nov 23, 2024

Deploy Preview for papaya-valkyrie-395400 canceled.

Name Link
🔨 Latest commit 0f11ec3
🔍 Latest deploy log https://app.netlify.com/sites/papaya-valkyrie-395400/deploys/6781260539438200089a93ab

@renovate renovate bot force-pushed the renovate/codemirror branch 3 times, most recently from 9fc0247 to 4dec927 Compare November 29, 2024 09:41
@renovate renovate bot force-pushed the renovate/codemirror branch 3 times, most recently from e6d6821 to a84d7cf Compare December 7, 2024 01:11
@renovate renovate bot force-pushed the renovate/codemirror branch from a84d7cf to b455088 Compare December 9, 2024 17:57
@renovate renovate bot force-pushed the renovate/codemirror branch 4 times, most recently from 54dd56e to 9895ebc Compare December 23, 2024 18:20
@renovate renovate bot force-pushed the renovate/codemirror branch 2 times, most recently from 9aae5aa to 8b36bc2 Compare January 9, 2025 18:43
@renovate renovate bot force-pushed the renovate/codemirror branch from 8b36bc2 to 0f11ec3 Compare January 10, 2025 13:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants