This repository was archived by the owner on Sep 2, 2024. It is now read-only.
-
Couldn't load subscription status.
- Fork 0
Update CodeMirror to v6 (major) #305
Open
renovate
wants to merge
1
commit into
master
Choose a base branch
from
renovate/major-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
a9cb3cd to
2c0e396
Compare
459a51f to
6bc718f
Compare
7c22657 to
11e9f2f
Compare
3176e8c to
b0ebdf2
Compare
b0ebdf2 to
45fa847
Compare
45fa847 to
e809255
Compare
d090a92 to
d0d1c74
Compare
fc15597 to
0fe7a5c
Compare
0fe7a5c to
6024263
Compare
ddcf8ed to
3645744
Compare
f89ff71 to
27ab39c
Compare
27ab39c to
c21c408
Compare
f08e8b9 to
702b01f
Compare
6db4767 to
f0892f2
Compare
f0892f2 to
d9038db
Compare
b5ef866 to
009e562
Compare
ac12ecc to
8fba1ec
Compare
8fba1ec to
7092a54
Compare
|
4f2b867 to
2809a17
Compare
425b3a0 to
639fa58
Compare
c2b3327 to
69f1ea4
Compare
1ac2bd4 to
b9e8ee0
Compare
ab8db2e to
562ffab
Compare
297978a to
71d9b21
Compare
b895e15 to
a4edf77
Compare
7a44143 to
65e7b15
Compare
65e7b15 to
a4318ac
Compare
a4318ac to
961791b
Compare
961791b to
0577fe2
Compare
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Labels
None yet
0 participants
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.20.1->6.18.00.20.0->6.1.10.20.0->6.6.10.20.0->6.10.20.20.0->6.4.10.20.2->6.8.10.20.1->6.5.60.20.0->6.4.10.20.4->6.33.0Release Notes
codemirror/autocomplete (@codemirror/autocomplete)
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.v6.9.1Compare Source
Bug fixes
Make sure the cursor is scrolled into view after inserting completion text.
Make sure scrolling completions into view doesn't get confused when the tooltip is scaled.
v6.9.0Compare Source
New features
Completions may now provide a
displayLabelproperty that overrides the way they are displayed in the completion list.v6.8.1Compare Source
Bug fixes
acceptCompletionnow returns false (allowing other handlers to take effect) when the completion popup is open but disabled.v6.8.0Compare Source
New features
The result of
Completion.infomay now include adestroymethod that will be called when the tooltip is removed.v6.7.1Compare Source
Bug fixes
Fix a bug that cause incorrect ordering of completions when some results covered input text and others didn't.
v6.7.0Compare Source
New features
The new
hasNextSnippetFieldandhasPrevSnippetFieldfunctions can be used to figure out if the snippet-field-motion commands apply to a given state.v6.6.1Compare Source
Bug fixes
Fix a bug that made the editor use the completion's original position, rather than its current position, when changes happened in the document while a result was active.
v6.6.0Compare Source
Bug fixes
Fix a bug in
insertCompletionTextthat caused it to replace the wrong range when a result set'stofell after the cursor.New features
Functions returned by
snippetcan now be called without a completion object.v6.5.1Compare Source
Bug fixes
Keep completions open when interaction with an info tooltip moves focus out of the editor.
v6.5.0Compare Source
Bug fixes
When
closeBracketsskips a bracket, it now generates a change that overwrites the bracket.Replace the entire selected range when picking a completion with a non-cursor selection active.
New features
Completions can now provide a
sectionfield that is used to group them into sections.The new
positionInfooption can be used to provide custom logic for positioning the info tooltips.v6.4.2Compare Source
Bug fixes
Fix a bug where the apply method created by
snippetdidn't add apickedCompletionannotation to the transactions it created.v6.4.1Compare Source
Bug fixes
Don't consider node names in trees that aren't the same language as the one at the completion position in
ifInandifNotIn.Make sure completions that exactly match the input get a higher score than those that don't (so that even if the latter has a score boost, it ends up lower in the list).
v6.4.0Compare Source
Bug fixes
Fix an issue where the extension would sometimes try to draw a disabled dialog at an outdated position, leading to plugin crashes.
New features
A
tooltipClassoption to autocompletion can now be used to add additional CSS classes to the completion tooltip.v6.3.4Compare Source
Bug fixes
Fix an issue where completion lists could end up being higher than the tooltip they were in.
v6.3.3Compare Source
Bug fixes
Set an explicit
box-sizingstyle on completion icons so CSS resets don't mess them up.Allow closing braces in templates to be escaped with a backslash.
v6.3.2Compare Source
Bug fixes
Fix a regression that could cause the completion dialog to stick around when it should be hidden.
v6.3.1Compare Source
Bug fixes
Fix a regression where transactions for picking a completion (without custom
applymethod) no longer had thepickedCompletionannotation.Reduce flickering for completion sources without
validForinfo by temporarily showing a disabled tooltip while the completion updates.Make sure completion info tooltips are kept within the space provided by the
tooltipSpaceoption.v6.3.0Compare Source
New features
Close bracket configuration now supports a
stringPrefixesproperty that can be used to allow autoclosing of prefixed strings.v6.2.0Compare Source
New features
Autocompletion now takes an
interactionDelayoption that can be used to control the delay between the time where completion opens and the time where commands likeacceptCompletionaffect it.v6.1.1Compare Source
Bug fixes
Fix a bug that prevented transactions produced by
deleteBracketPairfrom being marked as deletion user events.Improve positioning of completion info tooltips so they are less likely to stick out of the screen on small displays.
v6.1.0Compare Source
New features
You can now provide a
compareCompletionsoption to autocompletion to influence the way completions with the same match score are sorted.The
selectOnOpenoption to autocompletion can be used to require explicitly selecting a completion option beforeacceptCompletiondoes anything.v6.0.4Compare Source
Bug fixes
Remove a leftover
console.login bracket closing code.v6.0.3Compare Source
Bug fixes
Fix a bug that caused
closeBracketsto not close quotes when at the end of a syntactic construct that starts with a similar quote.v6.0.2Compare Source
Bug fixes
Declare package dependencies as peer dependencies as an attempt to avoid duplicated package issues.
v6.0.1Compare Source
Bug fixes
Support escaping
${or#{in snippets.v6.0.0Compare Source
Bug fixes
Scroll the cursor into view when inserting a snippet.
v0.20.3Compare Source
Bug fixes
Add an aria-label to the completion listbox.
Fix a regression that caused transactions generated for completion to not have a
userEventannotation.v0.20.2Compare Source
New features
The package now exports an
insertCompletionTexthelper that implements the default behavior for applying a completion.codemirror/collab (@codemirror/collab)
v6.1.1Compare Source
Bug fixes
Fix an issue where the configuration process raised an error when multiple instances of the
collabextensions were added.v6.1.0Compare Source
New features
The new
rebaseUpdatesfunction can be used by a collaborative editing server to accept updates even if they apply to an old document version.receiveUpdatesis now able to handle updates that were rebased by the server.v6.0.0Compare Source
Breaking changes
Update dependencies to 6.0.0
codemirror/commands (@codemirror/commands)
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.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.
codemirror/language (@codemirror/language)
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.v6.9.1Compare Source
Bug fixes
Indentation now works a lot better in mixed-language documents that interleave the languages in a complex way.
Code folding is now able to pick the right foldable syntax node when the line end falls in a mixed-parsing language that doesn't match the target node.
v6.9.0Compare Source
Bug fixes
Make
getIndentationreturn null, rather than 0, when there is no syntax tree available.New features
The new
preparePlaceholderoption tocodeFoldingmakes it possible to display contextual information in a folded range placeholder widget.v6.8.0Compare Source
New features
The new
baseIndentFormethod inTreeIndentContextcan be used to find the base indentation for an arbitrary node.v6.7.0Compare Source
New features
Export
DocInputclass for feeding editor documents to a Lezer parser.v6.6.0Compare Source
New features
Syntax-driven language data queries now support sublanguages, which make it possible to return different data for specific parts of the tree produced by a single language.
v6.5.0Compare Source
Bug fixes
Make indentation for stream languages more reliable by having
StringStream.indentationreturn overridden indentations from the indent context.New features
The
toggleFoldcommand folds or unfolds depending on whether there's an existing folded range on the current line.indentUnitnow accepts any (repeated) whitespace character, not just spaces and tabs.v6.4.0Compare Source
New features
The
bracketMatchingHandlenode prop can now be used to limit bracket matching behavior for larger nodes to a single subnode (for example the tag name of an HTML tag).v6.3.2Compare Source
Bug fixes
Fix a bug that caused
ensureSyntaxTreeto return incomplete trees when using a viewport-aware parser likeStreamLanguage.v6.3.1Compare Source
Bug fixes
Make syntax-based folding include syntax nodes that start right at the end of a line as potential fold targets.
Fix the
indentServiceprotocol to allow a distinction between declining to handle the indentation and returning null to indicate the line has no definite indentation.v6.3.0Compare Source
New features
HighlightStyleobjects now have aspecsproperty holding the tag styles that were used to define them.Languageobjects now have anamefield holding the language name.v6.2.1Compare Source
Bug fixes
Fix a bug where
bracketMatchingwould incorrectly match nested brackets in syntax trees that put multiple pairs of brackets in the same parent node.Fix a bug that could cause
indentRangeto loop infinitely.v6.2.0Compare Source
Bug fixes
Fix a bug that prevented bracket matching to recognize plain brackets inside a language parsed as an overlay.
New features
The
indentRangefunction provides an easy way to programatically auto-indent a range of the document.v6.1.0Compare Source
New features
The
foldStatefield is now public, and can be used to serialize and deserialize the fold state.v6.0.0Compare Source
New features
The
foldingChangedoption tofoldGuttercan now be used to trigger a recomputation of the fold markers.v0.20.2Compare Source
Bug fixes
List style-mod as a dependency.
v0.20.1Compare Source
Bug fixes
Make sure
allstyles in the CSS generated for aHighlightStylehave a lower precedence than the other rules defined for the style. Use a shorthand propertycodemirror/legacy-modes (@codemirror/legacy-modes)
v6.4.1Compare Source
Bug fixes
Stop treating closing brackets as brackets in the Common Lisp mode.
Fix a bug where the Stylus mode would crash when queried for indentation.
v6.4.0Compare Source
Bug fixes
Only match Solr operator words when they are upper-case.
Fix an infinite loop when tokenizing heredoc strings in the Crystal mode.
New features
Add the old Pug mode.
v6.3.3Compare Source
Bug fixes
In Shell mode, don't allow spaces in heredoc tokens.
v6.3.2Compare Source
Bug fixes
Fix tokenizing of character literals in the Scala mode.
v6.3.1Compare Source
Bug fixes
In JavaScript, properly parse keywords like
staticwhen in front of a private property.v6.3.0Compare Source
New features
Add the old PegJS mode.
v6.2.0Compare Source
Bug fixes
Include type declarations for mode/simple-mode.js.
New features
Include a name for each mode in the stream parser objects.
v6.1.0Compare Source
Bug fixes
Add structured concurrency keywords to the Swift mode. Update readme to follow interface changes
New features
Adds the Sass mode from CodeMirror 5.
v6.0.0Compare Source
Bug fixes
Add line comment syntax metadata to the Toml mode.
codemirror/lint (@codemirror/lint)
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.v6.4.2Compare Source
Bug fixes
Make sure scrolling diagnostic into view in the panel works when the editor is scaled.
v6.4.1Compare Source
Bug fixes
Fix a crash that could occur when a view was reconfigured in a way that removed the lint extension.
v6.4.0Compare Source
New features
Diagnostics can now use
"hint"as a severity level.Diagnostics can now set a
markClassproperty to add an additional CSS class to the text marked by the diagnostic.v6.3.0Compare Source
New features
A new
previousDiagnosticcommand can be used to move back through the active diagnostics.v6.2.2Compare Source
Bug fixes
Make sure lint gutter tooltips are properly closed when the content of their line changes.
v6.2.1Compare Source
Bug fixes
The
linterfunction now eagerly includes all lint-related extensions, rather than appending them to the configuration as-needed, so that turning off linting by clearing the compartment that contains it works properly.v6.2.0Compare Source
New features
The new
needsRefreshoption tolintermakes it possible to cause linting to be recalculated for non-document state changes.v6.1.1Compare Source
Bug fixes
Give lint action buttons a pointer cursor style.
Fix a bug that caused diagnostic action callbacks to be called twice when their button was clicked.
v6.1.0Compare Source
New features
The new
forEachDiagnosticfunction can be used to iterate over the diagnostics in an editor state.v6.0.0Compare Source
Breaking changes
Update dependencies to 6.0.0
v0.20.3Compare Source
New features
Diagnostic objects may now have a
renderMessagemethod to render their message to the DOM.codemirror/search (@codemirror/search)
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.v6.5.4Compare Source
Bug fixes
Fix a bug that caused whole-word search to incorrectly check for word boundaries in some circumstances.
v6.5.3Compare Source
Bug fixes
The
gotoLinedialog is now populated with the current line number when you open it.v6.5.2Compare Source
Bug fixes
Don't use the very lowest precedence for match highlighting decorations.
v6.5.1Compare Source
Bug fixes
Make
gotoLineprefer to scroll the target line to the middle of the view.Fix an issue in
SearchCursorwhere character normalization could produce nonsensical matches.v6.5.0Compare Source
New features
The new
regexpoption tosearchcan be used to control whether queries have the regexp flag on by default.v6.4.0Compare Source
Bug fixes
The
findNextandfindPreviouscommands now select the search field text if that field is focused.New features
The
scrollToMatchcallback option now receives the editor view as a second parameter.v6.3.0Compare Source
New features
The new
scrollToMatchsearch option allows you to adjust the way the editor scrolls search matches into view.v6.2.3Compare Source
Bug fixes
Fix a bug that hid the search dialog's close button when the editor was read-only.
v6.2.2Compare Source
Bug fixes
When
literalis off, \n, \r, and \t escapes are now also supported in replacement text.Make sure search dialog inputs don't get treated as form fields when the editor is created inside a form.
Fix a bug in
RegExpCursorthat would cause it to stop matching in the middle of a line when its current match position was equal to the length of the line.v6.2.1Compare Source
Bug fixes
By-word search queries will now skip any result that had word characters both before and after a match boundary.
v6.2.0Compare Source
New features
A new
wholeWordsearch query flag can be used to limit matches to whole words.SearchCursorandRegExpCursornow support atestparameter that can be used to ignore certain matches.v6.1.0Compare Source
Bug fixes
Fix an infinite loop when the match position of a
RegExpCursorended up in the middle of an UTF16 surrogate pair.New features
The
literalsearch option can now be set to make literal queries the default.The new
searchPanelOpenfunction can be used to find out whether the search panel is open for a given state.v6.0.1Compare Source
Bug fixes
findNextandfindPreviouswill now return to the current result (and scroll it into view) if no other matches are found.v6.0.0Compare Source
Bug fixes
Don't crash when a custom search panel doesn't have a field named 'search'.
Make sure replacements are announced to screen readers.
codemirror/state (@codemirror/state)
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.v6.2.1Compare Source
Bug fixes
Fix an issue that could cause
RangeSet.compareto miss changes in the set of active ranges around a point range.v6.2.0Compare Source
New features
EditorSelection.rangenow accepts an optional 4th argument to specify the bidi level of the range's head position.v6.1.4Compare Source
Bug fixes
Fix a bug that caused the
openStartvalue passed to span iterators to be incorrect around widgets in some circumstances.v6.1.3Compare Source
Bug fixes
Avoid unnecessary calls to computed facet getters when a state is reconfigured but no dependencies of the computed facet change.
Fix an infinite loop in
RangeSet.eqwhen thetoparameter isn't given.v6.1.2Compare Source
Bug fixes
Fix an issue where, when multiple transaction extenders took effect, only the highest-precedence one was actually included in the transaction.
v6.1.1Compare Source
Bug fixes
Fix a bug in range set span iteration that would cause decorations to be inappropriately split in some situations.
v6.1.0Compare Source
Bug fixes
Refine change mapping to preserve insertions made by concurrent changes.
New features
The
enablesoption toFacet.definemay now take a function, which will be called with the facet value to create the extensions.v6.0.1Compare Source
Bug fixes
Fix a problem that cause
Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Enabled.
♻ 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 these updates again.
This PR was generated by Mend Renovate. View the repository job log.