-
Notifications
You must be signed in to change notification settings - Fork 6
Update CodeMirror #123
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
main
Choose a base branch
from
renovate/codemirror
base: main
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
Update CodeMirror #123
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
e964828 to
ba930bd
Compare
c502bd1 to
f74cbe8
Compare
a170369 to
f3ecd6b
Compare
461c450 to
eb28951
Compare
eb89ae5 to
c279cd0
Compare
c279cd0 to
acda2f8
Compare
acda2f8 to
c401392
Compare
c401392 to
5c304be
Compare
bcd309a to
515c099
Compare
0fcd7ed to
937110f
Compare
37f68fa to
5b1d1f0
Compare
93efb3a to
fb6783e
Compare
c7ce225 to
9d912cf
Compare
fccbb5b to
0bfc0bc
Compare
0bfc0bc to
440af00
Compare
440af00 to
01b71af
Compare
01b71af to
a9a728a
Compare
9b0783b to
2f8e09f
Compare
2f8e09f to
b6f3126
Compare
182d32f to
272566b
Compare
272566b to
3882aab
Compare
3882aab to
f2be572
Compare
c09b82c to
1901a95
Compare
1901a95 to
7e92586
Compare
7e92586 to
8ba059d
Compare
c64b657 to
7780bc6
Compare
2b758c8 to
c1f5d7e
Compare
6ad8525 to
adf3a2d
Compare
2d9a436 to
1557453
Compare
1557453 to
315b003
Compare
5703a76 to
ddb7eee
Compare
ddb7eee to
2a9fc97
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.9.1->6.19.16.3.0->6.10.06.2.1->6.3.16.4.6->6.4.116.2.1->6.2.46.9.1->6.11.36.4.2->6.9.26.5.4->6.5.116.2.1->6.5.26.21.2->6.38.6Release Notes
codemirror/autocomplete (@codemirror/autocomplete)
v6.19.1Compare Source
Bug fixes
Make sure a completion's info panel is associated with that completion in the accessibility tree.
v6.19.0Compare Source
New features
Completion sections may now set their rank to
dynamicto indicate their order should be determined by the matching score of their best-matching option.v6.18.7Compare Source
Bug fixes
Add a binding for Alt-i to trigger
startCompletion, following VS Code's current default bindings.Improve handling of nested fields in snippets.
v6.18.6Compare Source
Bug fixes
Fix an issue where the closing character for double-angle quotation marks and full-width brackets was computed incorrectly.
v6.18.5Compare Source
Bug fixes
Fix an issue where clicking on the scrollbar for the completion list could move focus out of the editor.
v6.18.4Compare Source
Bug fixes
Align the behavior of snippet completions with text completions in that they overwrite the selected text.
v6.18.3Compare 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.2Compare Source
Bug fixes
Don't immediately show synchronously updated completions when there are some sources that still need to return.
v6.18.1Compare Source
Bug fixes
Fix an issue where
insertCompletionTextwould get confused about the length of the inserted text when it contained CRLF line breaks, and create an invalid selection.Add Alt-Backtick as additional binding on macOS, where IME can take over Ctrl-Space.
v6.18.0Compare Source
Bug fixes
Style the info element so that newlines are preserved, to make it easier to display multi-line info from a string source.
New features
When registering an
aborthandler for a completion query, you can now use theonDocChangeoption to indicate that your query should be aborted as soon as the document changes while it is running.v6.17.0Compare Source
Bug fixes
Fix an issue where completions weren't properly reset when starting a new completion through
activateOnCompletion.New features
CompletionContextobjects now have aviewproperty that holds the editor view when the query context has a view available.v6.16.3Compare Source
Bug fixes
Avoid adding an
aria-autocompleteattribute to the editor when there are no active sources active.v6.16.2Compare Source
Bug fixes
Allow backslash-escaped closing braces inside snippet field names/content.
v6.16.1Compare Source
Bug fixes
Fix a bug where multiple backslashes before a brace in a snippet were all removed.
v6.16.0Compare Source
New features
The new
activateOnCompletionoption allows autocompletion to be configured to chain completion activation for some types of completions.v6.15.0Compare Source
New features
The new
filterStrictoption can be used to turn off fuzzy matching of completions.v6.14.0Compare Source
New features
Completion results can now define a
mapmethod that can be used to adjust position-dependent information for document changes.v6.13.0Compare Source
New features
Completions may now provide 'commit characters' that, when typed, commit the completion before inserting the character.
v6.12.0Compare Source
Bug fixes
Make sure snippet completions also set
userEventtoinput.complete.Fix a crash when the editor lost focus during an update and autocompletion was active.
Fix a crash when using a snippet that has only one field, but multiple instances of that field.
New features
The new
activateOnTypingDelayoption allows control over the debounce time before the completions are queried when the user types.v6.11.1Compare Source
Bug fixes
Fix a bug that caused typing over closed brackets after pressing enter to still not work in many situations.
v6.11.0Compare Source
Bug fixes
Fix an issue that would prevent typing over closed brackets after starting a new line with enter.
New features
Additional elements rendered in completion options with
addToOptionsare now given access to the editor view.v6.10.2Compare Source
Bug fixes
Fix a bug that caused
updateSyncTimeto always delay the initial population of the tooltip.v6.10.1Compare Source
Bug fixes
Fix a bug where picking a selection with the mouse could use the wrong completion if the completion list was updated after being opened.
v6.10.0Compare Source
New features
The new autocompletion configuration option
updateSyncTimeallows control over how long fast sources are held back waiting for slower completion sources.v6.9.2Compare Source
Bug fixes
Fix a bug in
completeAnyWordthat could cause it to generate invalid regular expressions and crash.codemirror/commands (@codemirror/commands)
v6.10.0Compare Source
New features
The new
deleteGroupForwardWincommand provides by-group forward deletion using the Windows convention.v6.9.0Compare Source
Bug fixes
Prevent the default behavior of backspace and delete keys, to prevent the browser from doing anything creative when there's nothing to delete.
New features
Implement new
addCursorAboveandaddCursorBelowcommands. Bind them to Mod-Alt-ArrowUp/Down in the default keymap.v6.8.1Compare Source
Bug fixes
Fix an issue where creating a comment for a line that starts an inner language would use the comment style from the outer language.
v6.8.0Compare Source
New features
The new
cursorGroupForwardWinandselectGroupForwardWincommands implement Windows-style forward motion by group.v6.7.1Compare Source
Bug fixes
Change
toggleBlockCommentByLineto not affect lines with the selection end right at their start.v6.7.0Compare Source
Bug fixes
Bind Shift-Enter to the same command as Enter in the default keymap, so that it doesn't do nothing when on an EditContext-supporting browser.
New features
Add commands for by-string-index cursor motion that ignores text direction.
v6.6.2Compare Source
Bug fixes
Fix an issue causing
selectParentSyntaxto not select syntax that is a direct child of the top node.Make
selectParentSyntaxreturn false when it doesn't change the selection.v6.6.1Compare Source
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.
v6.6.0Compare Source
New features
The new
toggleTabFocusModeandtemporarilySetTabFocusModecommands provide control over the view's tab-focus mode.The default keymap now binds Ctrl-m (Shift-Alt-m on macOS) to
toggleTabFocusMode.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.codemirror/lang-css (@codemirror/lang-css)
v6.3.1Compare Source
Bug fixes
When completing a property name, insert a colon and space after the name.
v6.3.0Compare Source
New features
CSS autocompletion now completes
@-keywords.codemirror/lang-html (@codemirror/lang-html)
v6.4.11Compare Source
Bug fixes
Adjust autocompletion to work with @lezer/html's improved handling of
<characters without tag name after them.v6.4.10Compare Source
Bug fixes
Don't include period characters in the language's word characters.
v6.4.9Compare Source
Bug fixes
Fix a bug in
autoCloseTagsthat made tags not close when typing > after an attribute.v6.4.8Compare Source
Bug fixes
Complete attribute names after whitespace in a tag even when completion isn't explicitly triggered.
v6.4.7Compare Source
Bug fixes
Parse
scripttags withapplication/jsontype as JSON syntax.codemirror/lang-javascript (@codemirror/lang-javascript)
v6.2.4Compare Source
Bug fixes
Fix a crash in the
esLinthelper when a rule'smeta.docsisn't defined.Properly dedent lines starting with an opening curly brace below composite statements like
for/while.v6.2.3Compare Source
Bug fixes
Disable JavaScript completions in JSX context.
v6.2.2Compare Source
Bug fixes
Fix a bug that would cause self-closing JSX tags to have another closing tag inserted when typing the final '>'.
codemirror/language (@codemirror/language)
v6.11.3Compare Source
Bug fixes
Make the stream parser user 4 times smaller chunks to reduce the amount of re-parsed code on changes.
v6.11.2Compare Source
Bug fixes
Make sure folded ranges open when backspacing or deleting into them.
v6.11.1Compare Source
Bug fixes
Fix an issue where indentation would sometimes miss nodes in mixed-language situations.
v6.11.0Compare Source
New features
Stream parsers now support a
mergeTokensoption that can be used to turn off automatic merging of adjacent tokens.v6.10.8Compare Source
Bug fixes
Fix a regression introduced 6.10.7 that caused indention to sometimes crash on nested language boundaries.
v6.10.7Compare 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.6Compare Source
Bug fixes
Fix a crash in
StreamLanguagewhen the input range is entirely before the editor viewport.v6.10.5Compare Source
Bug fixes
Fix an issue where a
StreamLanguagecould get confused when trying to reuse existing parse data when the parsed range changed.v6.10.4Compare 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
StreamParserwhen a parse was resumed with different input ranges.v6.10.3Compare Source
Bug fixes
Fix a TypeScript error when using
HighlightStylewith theexactOptionalPropertyTypestypechecking option enabled.Make
delimitedIndentalign to spaces after the opening token.v6.10.2Compare Source
Bug fixes
Fix an infinite loop that could occur when enabling
bidiIsolatesin documents with both bidirectional text and very long lines.v6.10.1Compare Source
Bug fixes
Fix an issue where, when a lot of code is visible in the initial editor, the bottom bit of code is shown without highlighting for one frame.
v6.10.0Compare Source
New features
The new
bidiIsolatesextension can be used to wrap syntactic elements where this is appropriate in an element that isolates their text direction, avoiding weird ordering of neutral characters on direction boundaries.v6.9.3Compare Source
Bug fixes
Fix an issue in
StreamLanguagewhere it ran out of node type ids if you repeatedly redefined a language with the same token table.v6.9.2Compare Source
Bug fixes
Allow
StreamParsertokens get multiple highlighting tags.codemirror/lint (@codemirror/lint)
v6.9.2Compare Source
Bug fixes
Fix an infinite loop that would occur when a diagnostic pointed beyond the end of the document.
v6.9.1Compare Source
Bug fixes
Properly display diagnostics that just cover multiple newlines as widgets.
v6.9.0Compare Source
Bug fixes
Multiple configurations to
linterwill now be merged without raising an error.New features
The new
markClassoption to actions makes it possible to style action buttons.v6.8.5Compare Source
Bug fixes
Fix a regression (since 6.8.4) that broke the
markerFilteroption.v6.8.4Compare Source
Bug fixes
Don't create overlapping decorations when diagnostics overlap.
Fix an issue where block widgets could cause the lint gutter to show diagnostics multiple times.
v6.8.3Compare Source
Bug fixes
Fix an issue that prevented tooltips in the lint gutter from being displayed.
v6.8.2Compare Source
Bug fixes
Show lint markers for code replaced by a block widget.
When multiple linters are installed, start displaying results from ones that return quickly even if others are slow to return.
v6.8.1Compare Source
Bug fixes
Make lint markers non-inclusive again, since having them that way causes more issues than it solves.
v6.8.0Compare Source
New features
The new
autoPaneloption can be used to make the panel automatically appear when diagnostics are added and close when no diagnostics are left.v6.7.1Compare Source
Bug fixes
Don't perform an additional superfluous timed lint run after
forceLintinghas been called.v6.7.0Compare Source
New features
The
renderMessagefunction is now called with the editor view as first argument.v6.6.0Compare Source
New features
The new
hideOnconfiguration option can be used to control in what circumstances lint tooltips get hidden by state changes.v6.5.0Compare Source
Bug fixes
Make lint mark decorations inclusive, so that they are applied even if the marked content is replaced by a widget decoration.
New features
lintercan now be called with null as source to only provide a configuration.markerFilterandtooltipFilterfunction now get passed the current editor state.codemirror/search (@codemirror/search)
v6.5.11Compare Source
Bug fixes
Fix an issue in
replaceNextthat could cause it to create an invalid selection when replacing past the end of the document.v6.5.10Compare Source
Bug fixes
Add a close button to the
gotoLinepanel.v6.5.9Compare Source
Bug fixes
When replacing a regexp match, don't expand multi-digit replacement markers to numbers beyond the captured group count in the query.
v6.5.8Compare Source
Bug fixes
Fix a bug that put the selection in the wrong place after running
replaceNextwith a regexp query that could match strings of different length.v6.5.7Compare Source
Bug fixes
Fix an issue where
findNextandfindPreviouswould do nothing when the only match in the document was partially selected.Fix an infinite loop in
SearchCursorwhen the normalizer function deletes characters.v6.5.6Compare Source
Bug fixes
Make
highlightSelectionMatchesinclude whitespace in the selection in its matches.Fix a bug that caused
SearchCursorto return invalid ranges when matching astral chars that the the normalizer normalized to single-code-unit chars.v6.5.5Compare Source
Bug fixes
Fix a bug that caused codes like
\nto be unescaped in strings inserted via replace placeholders like$&.Use the keybinding Mod-Alt-g for
gotoLineto the search keymap, to make it usable for people whose keyboard layout uses Alt/Option-g to type some character.codemirror/state (@codemirror/state)
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.v6.4.1Compare Source
Bug fixes
Fix an issue that caused widgets at the end of a mark decoration to be rendered in their own separate mark DOM element.
v6.4.0Compare Source
Bug fixes
When multiple ranges in a single range set overlap, put the smaller ones inside the bigger ones, so that overlapping decorations don't break up each other's elements when coming from the same source.
New features
Selection and selection range
eqmethods now support an optional argument that makes them also compare by cursor associativity.The
RangeSet.joinfunction can be used to join multiple range sets together.v6.3.3Compare Source
Bug fixes
Fix an issue where
Text.sliceandText.replacecould return objects with incorrectlengthwhen the givenfrom/tovalues were out of range for the text.v6.3.2Compare Source
Bug fixes
Make sure transactions cannot add multiple selections when
allowMultipleSelectionsis false.Fix a bug that caused
Text.iterLinesto not return empty lines at the end of the iterated ranges.v6.3.1Compare Source
Bug fixes
Give the tag property on
FacetReaderthe type of the output type parameter to force TypeScript to infer the proper type when converting fromFacettoFacetReader.v6.3.0Compare Source
New features
The new
FacetReadertype provides a way to export a read-only handle to aFacet.codemirror/view (@codemirror/view)
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.
v6.34.1Compare Source
Bug fixes
Avoid a stack overflow that could happen when updating a line with a lot of text tokens.
Improve the way enormously long (non-wrapped) lines are displayed by making sure they stay shorter than the maximal pixel size the browser's CSS engine can handle.
v6.34.0Compare Source
Bug fixes
Fix an issue where the dots past the wrapping point were displayed incorrectly when using
highlightWhitespacewith a wrapped sequence of spaces.Improve performance of documents displaying lots of highlighted spaces by using a CSS background instead of pseudo-element.
New features
placeholdernow allows a function that constructs the placedholder DOM to be passed in, and usescloneNodewhen a raw element is passed in, to prevent adding the same element to multiple editors.v6.33.0Compare Source
Bug fixes
Make it easier to move the pointer over a hover tooltip with an arrow by not closing the tooltip when the pointer is moving over the gap for the arrow.
New features
The new
EditorView.clipboardInputFilterandclipboardOutputFilterfacets allow you to register filter functions that change text taken from or sent to the clipboard.v6.32.0Compare Source
Bug fixes
Fix a bug where the editor could draw way too big a viewport when not managing its own scrollbar.
New features
The new
gutterWidgetClassfacet makes it possible to add a class to gutter elements next to widgets.v6.31.0Compare Source
Bug fixes
Avoid the editor's geometry measurements becoming incorrect when fonts finish loading by scheduling a measure on
document.fonts.ready.Avoid an issue where Chrome would incorrectly scroll the window when deleting lines in the editor.
Fix an issue where in some layouts editor content would be drawn on top of panel elements.
Fix an issue where
coordsAtPoswould return null when querying a position in a block widget.New features
The new
lineNumberWidgetMarkerfacet makes it possible to insert markers into the line number gutter for widgets.v6.30.0Compare Source
Bug fixes
Make spell check corrections work again on
EditContext-enabled Chrome versions.New features
The value returned by
hoverTooltipnow has anactiveproperty providing the state field used to store the open tooltips.v6.29.1Compare Source
Bug fixes
Fix a crash on old Safari browsers that don't support
MediaQueryList.addEventListener.Fix an issue where
EditorView.viewportLineBlocks(and thus other things like the gutter) might be out of date after some kinds of decoration changes.v6.29.0Compare Source
Bug fixes
Fix an issue that caused typing into an editor marked read-only to cause document changes when using
EditContext.Associate a cursor created by clicking above the end of the text on a wrap point with the line before it.
New features
The package now exports the type of hover tooltip sources as
HoverTooltipSource.v6.28.6Compare Source
Bug fixes
Fix an issue where the editor got confused about the position of inserted text when using Chrome's
EditContextand canceling transactions for typed text.v6.28.5Compare Source
Bug fixes
Fix a bug that broke drag scrolling along one axis when the innermost scrollable element around the editor was only scrollable along the other axis.
Work around a memory leak in Chrome's EditContext implementation.
v6.28.4Compare Source
Bug fixes
Fix a bug where EditContext-based editing could corrupt the document in some situations.
v6.28.3Compare Source
Bug fixes
Fix an issue causing the IME interface to appear in the wrong spot on Chrome Windows.
v6.28.2Compare Source
Bug fixes
Only use
EditContexton Chrome versions that support passing it an inverted selection range.Fix an issue that prevented non-inclusive block widgets from having their
updateDOMmethod called when changed.Re-enable
EditContextuse on Chrome 126 and up.v6.28.1Compare Source
Bug fixes
Disable
EditContextby default again, to work around a regression where Chrome's implementation doesn't support inverted selections.Make sure
EditorView.editableis respected whenEditContextis used.v6.28.0Compare Source
Bug fixes
Fix an issue where long lines broken up by block widgets were sometimes only partially rendered.
New features
The editor will now, when available (which is only on Chrome for the foreseeable future) use the
EditContextAPI to capture text input.v6.27.0[Compare Source](https://re
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.
This PR was generated by Mend Renovate. View the repository job log.