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.4.0
->6.5.1
6.1.3
->6.2.2
6.4.1
->6.4.3
6.1.2
->6.1.6
6.0.5
->6.1.1
6.3.3
->6.4.1
6.4.0
->6.6.0
6.3.1
->6.3.2
6.2.3
->6.3.0
6.7.3
->6.9.4
Release Notes
codemirror/autocomplete
v6.5.1
Compare Source
Bug fixes
Keep completions open when interaction with an info tooltip moves focus out of the editor.
v6.5.0
Compare Source
Bug fixes
When
closeBrackets
skips 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
section
field that is used to group them into sections.The new
positionInfo
option can be used to provide custom logic for positioning the info tooltips.v6.4.2
Compare Source
Bug fixes
Fix a bug where the apply method created by
snippet
didn't add apickedCompletion
annotation to the transactions it created.v6.4.1
Compare Source
Bug fixes
Don't consider node names in trees that aren't the same language as the one at the completion position in
ifIn
andifNotIn
.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).
codemirror/commands
v6.2.2
Compare Source
Bug fixes
Fix a bug where line commenting got confused when commenting a range that crossed language boundaries.
v6.2.1
Compare Source
Bug fixes
Keep cursor position stable in
cursorPageUp
/cursorPageDown
when there are panels or other scroll margins active.Make sure
toggleComment
doesn't get thrown off by local language nesting, by fetching the language data for the start of the selection line.v6.2.0
Compare Source
New features
The new
joinToEvent
history configuration option allows you to provide custom logic that determines whether a new transaction is added to an existing history event.codemirror/lang-html
v6.4.3
Compare Source
Bug fixes
Fix a bug that could cause some nested language regions to be parsed multiple times.
v6.4.2
Compare Source
Bug fixes
Fix an issue where
autoCloseTags
would close self-closing tags when typed directly in front of a word.codemirror/lang-javascript
v6.1.6
Compare Source
Bug fixes
Fix a bug that allowed
autoCloseTags
to close JSX tags in JavaScript context.v6.1.5
Compare Source
Bug fixes
Make TypeScript object type syntax foldable.
v6.1.4
Compare Source
Bug fixes
Make sure code in JSX context can be commented correctly.
v6.1.3
Compare Source
Bug fixes
Fix auto-closing of JSX fragments.
codemirror/lang-markdown
v6.1.1
Compare Source
Bug fixes
Fix the declaration of
comentTokens
language data for Markdown.Fix a bug in
deleteMarkupBackward
that would cause it to delete pieces of continued paragraphs below list item markers.v6.1.0
Compare Source
New features
Add support for folding entire sections from the header.
codemirror/lang-sql
v6.4.1
Compare Source
Bug fixes
Fix a bug where tokenizing of block comments got confused when nested comment start/end markers appeared directly next to each other.
v6.4.0
Compare Source
Bug fixes
Fix syntax tree node names for curly and square brackets, which had their names swapped.
New features
The new
schemas
config option can be used to provide custom completion objects for schema completions.codemirror/language
v6.6.0
Compare 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.0
Compare Source
Bug fixes
Make indentation for stream languages more reliable by having
StringStream.indentation
return overridden indentations from the indent context.New features
The
toggleFold
command folds or unfolds depending on whether there's an existing folded range on the current line.indentUnit
now accepts any (repeated) whitespace character, not just spaces and tabs.codemirror/legacy-modes
v6.3.2
Compare Source
Bug fixes
Fix tokenizing of character literals in the Scala mode.
codemirror/search
v6.3.0
Compare Source
New features
The new
scrollToMatch
search option allows you to adjust the way the editor scrolls search matches into view.codemirror/view
v6.9.4
Compare Source
Bug fixes
Make the editor scroll while dragging a selection near its sides, even if the cursor isn't outside the scrollable element.
Fix a bug that interrupted composition after widgets in some circumstances on Firefox.
Make sure the last change in a composition has its user event set to
input.type.compose
, even if thecompositionend
event fires before the changes are applied.Make it possible to remove additional selection ranges by clicking on them with ctrl/cmd held, even if they aren't cursors.
Keep widget buffers between widgets and compositions, since removing them confuses IME on macOS Firefox.
Fix a bug where, for DOM changes that put the selection in the middle of the changed range, the editor incorrectly set its selection state.
Fix a bug where
coordsAtPos
could return a coordinates before the line break when querying a line-wrapped position with a positiveside
.v6.9.3
Compare Source
Bug fixes
Work around a Firefox issue that caused
coordsAtPos
to return rectangles with the full line height on empty lines.Opening a context menu by clicking below the content element but inside the editor now properly shows the browser's menu for editable elements.
Fix an issue that broke composition (especially of Chinese IME) after widget decorations.
Fix an issue that would cause the cursor to jump around during compositions inside nested mark decorations.
v6.9.2
Compare Source
Bug fixes
Work around a Firefox CSS bug that caused cursors to stop blinking in a scrolled editor.
Fix an issue in
drawSelection
where the selection extended into the editor's padding.Fix pasting of links copied from iOS share sheet.
v6.9.1
Compare Source
Bug fixes
Improve the way
posAtCoords
picks the side of a widget to return by comparing the coordinates the center of the widget.Fix an issue where transactions created for the
focusChangeEffect
facet were sometimes not dispatched.v6.9.0
Compare Source
Bug fixes
Fix an issue where inaccurate estimated vertical positions could cause the viewport to not converge in line-wrapped editors.
Don't suppress double-space to period conversion when autocorrect is enabled.
Make sure the measuring code notices when the scaling of the editor is changed, and does a full measure in that case.
New features
The new
EditorView.focusChangeEffect
facet can be used to dispatch a state effect when the editor is focused or blurred.v6.8.1
Compare Source
Bug fixes
Fix an issue where tooltips that have their height reduced have their height flicker when scrolling or otherwise interacting with the editor.
v6.8.0
Compare Source
Bug fixes
Fix a regression that caused clicking on the scrollbar to move the selection.
Fix an issue where focus or blur event handlers that dispatched editor transactions could corrupt the mouse selection state.
Fix a CSS regression that prevented the drop cursor from being positioned properly.
New features
WidgetType.updateDOM
is now passed the editor view object.Configuration
📅 Schedule: Branch creation - "before 3am on Monday" (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 has been generated by Mend Renovate using a preset from . View repository job log here