generated from obsidianmd/obsidian-sample-plugin
-
-
Notifications
You must be signed in to change notification settings - Fork 9
chore(deps): update codemirror #258
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
Open
renovate
wants to merge
1
commit into
master
Choose a base branch
from
renovate/codemirror
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
65596a1 to
c2c9f0d
Compare
c2c9f0d to
7481cb6
Compare
7481cb6 to
89d8ffb
Compare
4b2eb2e to
9dba994
Compare
9dba994 to
13834b7
Compare
13834b7 to
0d509ff
Compare
0d509ff to
ebd68f5
Compare
ebd68f5 to
665baae
Compare
c8bdb6e to
c427af4
Compare
c427af4 to
4d90b03
Compare
5533a7d to
94299b9
Compare
45dea4b to
e9149ee
Compare
e9149ee to
eef42c2
Compare
eef42c2 to
9d43fb6
Compare
9d43fb6 to
a621fa0
Compare
a621fa0 to
3cd6613
Compare
|
65f0d2a to
c2c0ca5
Compare
71602b1 to
9ec9af4
Compare
9ec9af4 to
aaadc2c
Compare
a73138d to
9423c96
Compare
9423c96 to
f09856b
Compare
64b7cff to
e1b73e4
Compare
57e5884 to
8b5d4bc
Compare
5551a0f to
e7fe93f
Compare
05df362 to
3677634
Compare
3677634 to
b8aaa7a
Compare
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.7.2→6.11.26.4.1→6.5.36.34.1→6.39.8Warning
Some dependencies could not be looked up. Check the Dependency Dashboard for more information.
Release Notes
codemirror/merge (@codemirror/merge)
v6.11.2Compare Source
Bug fixes
Fix a bug in
Chunk.updateA/updateBthat would cause it to drop an insertion or deletion chunk at the very end of the document.v6.11.1Compare Source
Bug fixes
Export a function that allows you to find the sibling of a given editor in a merge view.
v6.11.0Compare Source
New features
The
mergeControlsoption to the unified merge view can now be a function, which will be used to render the buttons.v6.10.2Compare Source
Bug fixes
Fix an issue where chunks in the unified diff weren't updated properly when a single transaction changed for the original and the edited document.
v6.10.1Compare Source
Bug fixes
Fix an issue in
presentableDiffwhere it sometimes doesn't expand changes over words with multiple individual changes in them.v6.10.0Compare Source
New features
The new
allowInlineDiffsoption tounifiedMergeViewwill display chunks with only limited inline changes inline in the code.v6.9.0Compare Source
New features
The new diff option
timeoutcan be used to make the algorithm bail out after a given amount of milliseconds.Chunks now have a
preciseproperty that is false when the diff that the chunk is based on fell back to imprecise diffing (because of a scan depth limit or timeout).v6.8.0Compare Source
Bug fixes
Limit the size of highlighted chunks in the unified view, to prevent freezing the interface highlighting huge amounts of code.
Fix a regression that caused deleted chunks in the unified view to be rendered with strike-through style by default.
New features
Export the
uncollapseUnchangedeffect that is used to uncollapse sections of code.v6.7.5Compare Source
Bug fixes
Fix a bug that hid the accept/reject buttons for insertions in the unified merge view.
The lines shown around collapsed unchanged lines are now css
:before/:afterelements, so that they can be customized more easily.Render deleted lines in the unified merge view as block elements, for easier styling.
v6.7.4Compare Source
Bug fixes
In the unified diff view, fix an issue where empty deleted lines were rendered for chunks that deleted nothing.
Fix a bug that made the diff algorithm miss some obvious opportunities to align changes on line boundaries.
v6.7.3Compare Source
Bug fixes
Fix an issue where the last line of a deleted chunk, if there is no text on it, was collapsed by the browser and not visible.
codemirror/state (@codemirror/state)
v6.5.3Compare Source
Bug fixes
Fix an issue where
RangeValue.eqcould get called with a value of a different class.EditorState.charCategorizernow only uses the highest-precedence set of word characters from the language data, to allow overriding these.v6.5.2Compare Source
Bug fixes
Fix a bug where reconfiguring a field with a new
initvalue didn't update the value of the field.v6.5.1Compare Source
Bug fixes
countColumnno longer loops infinitely when given atothat's higher than the input string's length.v6.5.0Compare Source
New features
RangeSet.comparenow supports aboundChangecallback that is called when there's a change in the way ranges are split.codemirror/view (@codemirror/view)
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.v6.36.7Compare Source
Bug fixes
Use the
aria-placeholderattribute to communicate the placeholder text to screen readers.Fix a crash when
EditorView.composingor.compositionStartedare accessed during view initialization.v6.36.6Compare Source
Bug fixes
Fix an issue where
drawSelectionwould draw selections starting at a block widget not at a line break in an odd way.Fix an issue where the editor would inappropriately scroll when editing near the bottom of the document with line wrapping enabled, in some cases.
Fix an issue that caused unnecessary transactions on focus change.
v6.36.5Compare Source
Bug fixes
Fix an issue where some browsers wouldn't enable context menu paste when clicking on placeholder text.
Fix an issue where cursor height would unnecessarily be based on a placeholder node's dimensions, and thus be off from the text height.
v6.36.4Compare Source
Bug fixes
Fix an issue where scrolling down to a range higher than the viewport could in some situations fail to scroll to the proper position.
v6.36.3Compare Source
Bug fixes
Make sure event handlers registered with
domEventHandlersare not called during view updates, to avoid triggering nested update errors.Don't include the window scrollbars in the space available for displaying tooltips.
Work around an issue with Chrome's
EditContextthat shows up when using autocompletion while composing with Samsung's virtual Android keyboard.v6.36.2Compare 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.1Compare Source
Bug fixes
Fix a crash in MatchDecorator when updating matches at the end of the document.
v6.36.0Compare Source
Bug fixes
Make selection rectangles verticaly align precisely, rather than introducing a slight overlap.
Fix an issue in
MatchDecoratorthat caused it to fully rebuild its decorations on normal edits.New features
View updates now have a
viewportMovedflag that is only true when a viewport change originated from something other than mapping the viewport over a document change.v6.35.3Compare 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
writingsuggestionsfor the editable element, to opt out of Safari's new intelligence completions (which mess up in the editor).v6.35.2Compare 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.1Compare 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.0Compare Source
New features
Tooltips can now use the
clipoption to control whether they are hidden when outside the visible editor content.v6.34.3Compare 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.2Compare Source
Bug fixes
Fix the default cursor color for dark themes, which was way too dark.
Configuration
📅 Schedule: Branch creation - "every 3 months on the first day of the month" (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.