This repository has been archived by the owner on Sep 9, 2024. It is now read-only.
fix(deps): update codemirror - autoclosed #1046
Closed
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.13.0
6.3.0
->6.3.3
6.9.1
->6.10.1
6.3.1
->6.4.1
6.4.2
->6.5.0
6.5.4
->6.5.6
6.2.1
->6.4.1
6.21.2
->6.25.0
Release Notes
codemirror/autocomplete (@codemirror/autocomplete)
v6.13.0
Compare Source
New features
Completions may now provide 'commit characters' that, when typed, commit the completion before inserting the character.
v6.12.0
Compare Source
Bug fixes
Make sure snippet completions also set
userEvent
toinput.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
activateOnTypingDelay
option allows control over the debounce time before the completions are queried when the user types.v6.11.1
Compare Source
Bug fixes
Fix a bug that caused typing over closed brackets after pressing enter to still not work in many situations.
v6.11.0
Compare 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
addToOptions
are now given access to the editor view.v6.10.2
Compare Source
Bug fixes
Fix a bug that caused
updateSyncTime
to always delay the initial population of the tooltip.v6.10.1
Compare 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.0
Compare Source
New features
The new autocompletion configuration option
updateSyncTime
allows control over how long fast sources are held back waiting for slower completion sources.v6.9.2
Compare Source
Bug fixes
Fix a bug in
completeAnyWord
that could cause it to generate invalid regular expressions and crash.codemirror/commands (@codemirror/commands)
v6.3.3
Compare Source
Bug fixes
Fix an issue causing cursor motion commands to not dispatch a transaction when the change only affects cursor associativity.
v6.3.2
Compare Source
Bug fixes
Fix a regression that caused
deleteCharBackward
to sometimes delete a large chunk of text.v6.3.1
Compare Source
Bug fixes
When undoing, store the selection after the undone change with the redo event, so that redoing restores it.
deleteCharBackward
will no longer delete variant selector characters as separate characters.codemirror/language (@codemirror/language)
v6.10.1
Compare 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.0
Compare Source
New features
The new
bidiIsolates
extension 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.3
Compare Source
Bug fixes
Fix an issue in
StreamLanguage
where it ran out of node type ids if you repeatedly redefined a language with the same token table.v6.9.2
Compare Source
Bug fixes
Allow
StreamParser
tokens get multiple highlighting tags.codemirror/language-data (@codemirror/language-data)
v6.4.1
Compare Source
Bug fixes
Include .mts and .cts as TypeScript file extensions.
v6.4.0
Compare Source
Bug fixes
Include .kts as an extension for Kotlin.
Use @codemirror/lang-yaml instead of the legacy mode for YAML content.
New features
Add an entry for Liquid templates.
codemirror/lint (@codemirror/lint)
v6.5.0
Compare 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
linter
can now be called with null as source to only provide a configuration.markerFilter
andtooltipFilter
function now get passed the current editor state.codemirror/search (@codemirror/search)
v6.5.6
Compare Source
Bug fixes
Make
highlightSelectionMatches
include whitespace in the selection in its matches.Fix a bug that caused
SearchCursor
to return invalid ranges when matching astral chars that the the normalizer normalized to single-code-unit chars.v6.5.5
Compare Source
Bug fixes
Fix a bug that caused codes like
\n
to be unescaped in strings inserted via replace placeholders like$&
.Use the keybinding Mod-Alt-g for
gotoLine
to 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.4.1
Compare 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.0
Compare 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
eq
methods now support an optional argument that makes them also compare by cursor associativity.The
RangeSet.join
function can be used to join multiple range sets together.v6.3.3
Compare Source
Bug fixes
Fix an issue where
Text.slice
andText.replace
could return objects with incorrectlength
when the givenfrom
/to
values were out of range for the text.v6.3.2
Compare Source
Bug fixes
Make sure transactions cannot add multiple selections when
allowMultipleSelections
is false.Fix a bug that caused
Text.iterLines
to not return empty lines at the end of the iterated ranges.v6.3.1
Compare Source
Bug fixes
Give the tag property on
FacetReader
the type of the output type parameter to force TypeScript to infer the proper type when converting fromFacet
toFacetReader
.v6.3.0
Compare Source
New features
The new
FacetReader
type provides a way to export a read-only handle to aFacet
.codemirror/view (@codemirror/view)
v6.25.0
Compare Source
Bug fixes
Properly recognize Android GBoard enter presses that strip a space at the end of the line as enter.
Fix a bug that caused the gutter to have the wrong height when the editor was scaled after construction.
When starting a composition after a non-inclusive mark decoration, temporarily insert a widget that prevents the composed text from inheriting that mark's styles.
Make sure the selection is repositioned when a transaction changes decorations without changing the document.
New features
View plugins can now provide a
docViewUpdate
method that is called whenever the document view is updated.Layers now take a
updateOnDocUpdate
option that controls whether they are automatically updated when the document view changes.v6.24.1
Compare Source
Bug fixes
Fix a crash that happens when hover tooltips are active during changes, introduced in 6.24.0.
v6.24.0
Compare Source
Bug fixes
Fix an issue that broke context-menu select-all on Chrome when the viewport didn't cover the whole document.
Make sure tooltips are ordered by extension precedence in the DOM.
New features
Hover tooltip sources may now return multiple tooltips.
v6.23.1
Compare Source
Bug fixes
Fix a bug that caused
Tooltip.above
to not take effect for tooltips that were already present when the tooltip plugin is initialized.Automatically reposition tooltips when their size changes.
v6.23.0
Compare Source
Bug fixes
Work around odd iOS Safari behavior when doing select all.
Fix a composition interruption when an widget is inserted next to the cursor.
Fix a crash in bidirectional cursor motion.
Simplify visual motion through bidirectional text, fix several corner cases where it would work badly.
Fix a bug that broke some bidi isolates not on the first line of the document.
New features
EditorView.bidiIsolatedRanges
now supports automatically determining the direction of the range if not provided by the decoration.EditorView.visualLineSide
can be used to find the visual end or start of a line with bidirectional text.The new
EditorView.outerDecorations
facet can be used to provide decorations that should always be at the bottom of the precedence stack.v6.22.3
Compare Source
Bug fixes
Fix a bug that could cause tooltips to be unnecessarily be positioned absolutely.
Make sure that, when an editor creates tooltips immediately on initialization, the editor is attached to the document when their
mount
callback is called.v6.22.2
Compare Source
Bug fixes
Fix an issue in the bidirectional motion that could cause the cursor to get stuck in a loop when a zero-width non-joiner char was placed on a direction boundary.
Fix a bug that corrupts the editor's internal view tree data structure on some types of edits, putting the editor in a broken state.
v6.22.1
Compare Source
Bug fixes
Call widget
destroy
methods when the entire editor is destroyed or reset.Work around an issue on Safari on macOS Sonoma that made the native cursor visible even when
drawSelection
is enabled.Fix an issue where, on some browsers, the screenreader announced text ended up in the printed document.
Fix a bug where a hover tooltip could stick around even though the pointer was no longer on the editor when it was moved out over the tooltip.
Fix an issue where hover tooltips could close when moving the mouse onto them due to mouse position rounding issues.
v6.22.0
Compare Source
Bug fixes
Exceptions raised by update listeners are now routed to the configured exception sink, if any.
Fix an issue where passing large scroll margins to
scrollIntoView
would cause the measure loop to fail to terminate.Widgets that are draggable (and allow drag events through in their
ignoreEvent
implementation) can now use the editor's built-in drag/drop behavior.New features
The new
scrollTo
option toEditorView
allows an initial scroll position to be provided.The new
EditorView.scrollSnapshot
method returns an effect that can be used to reset to a previous scroll position.v6.21.4
Compare Source
Bug fixes
Support the
offset
,getCoords
,overlap
, andresize
properties on hover tooltips, as long as they aren't given conflicting values when there are multiple active hover tooltips.Fix a bug that caused tooltips in the default configuration to be positioned incorrectly on Chrome when the editor was transformed.
v6.21.3
Compare Source
Bug fixes
Fix an issue that caused
coordsForChar
to return the wrong rectangle for characters after a line wrap in Safari.Make the context menu work when clicking below the content in a fixed-height editor.
Tooltips that have been put below/above their target position because there is no room on their default side now stay there on further updates.
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 has been generated by Mend Renovate. View repository job log here.