Update dependency codemirror to v5.65.16 #10
Merged
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:
5.45.0
->5.65.16
Release Notes
codemirror/CodeMirror (codemirror)
v5.65.16
Compare Source
Bug fixes
Fix focus tracking in shadow DOM.
go mode: Allow underscores in numbers.
jsx mode: Support TS generics marked by trailing comma.
v5.65.15
Compare Source
Bug fixes
lint addon: Prevent tooltips from sticking out of the viewport.
yaml mode: Fix an exponential-complexity regular expression.
v5.65.14
Compare Source
Bug fixes
clike mode: Fix poor indentation in some Java code.
nsis mode: Recognize
!assert
command.lint addon: Remove broken annotation deduplication.
v5.65.13
Compare Source
Bug fixes
dart mode: Add some new keywords.
clike mode: Tokenize Scala character literals.
v5.65.12
Compare Source
Bug fixes
python mode: Add new built-ins and keywords.
v5.65.11
Compare Source
Bug fixes
Also respect autocapitalize/autocorrect/spellcheck options in textarea mode.
sql-hint addon: Fix keyword completion in generic SQL mode.
v5.65.10
Compare Source
Bug fixes
sql-hint addon: Fix completion when the SQL mode is wrapped by some outer mode.
javascript mode: Fix parsing of property keywords before private property names.
v5.65.9
Compare Source
Bug fixes
Add a workaround for a regression in Chrome 105 that could cause content below the editor to not receive mouse events.
show-hint addon: Resize the tooltip if it doesn't fit the screen.
swift mode: Fix tokenizing of block comments.
jinja2 mode: Support line statements.
v5.65.8
Compare Source
Bug fixes
Include direction override and isolate characters in the default set of special characters.
Fix an issue that could cause document corruption when mouse-selecting during composition.
foldgutter addon: Refresh markers when the editor's mode changes.
merge addon: Fix syntax that prevented the addon from loading in IE10.
v5.65.7
Compare Source
Bug fixes
Fix several references to the global
document
/window
, improving support for creating an editor in another frame.vim bindings: Use upstream code instead of keeping our own copy.
tern addon: Properly HTML escape variable names in rename dialog.
v5.65.6
Compare Source
Bug fixes
Avoid firing
beforeCursorEnter
callbacks twice for cursor selections.Improve support for auto-hiding macOS scrollbars.
show-hint addon: Fix an issue where the tooltip could be placed to the left of the screen.
swift mode: Support structured concurrency keywords.
v5.65.5
Compare Source
Bug fixes
Work around a bug in Chrome 102 that caused wheel scrolling of the editor to constantly stop.
search addon: Make sure the search field has an accessible label.
comment addon: Preserve indentation on otherwise empty lines when indenting.
v5.65.4
Compare Source
Bug fixes
Ignore paste events when the editor doesn't have focus.
sparql mode: Fix parsing of variables after operators.
julia mode: Properly tokenize
!==
and===
operators.v5.65.3
Compare Source
Bug fixes
Fix a crash that could occur when when marking text.
merge addon: Add aria label to buttons.
groovy mode: Properly highlight interpolated variables.
v5.65.2
Compare Source
Bug fixes
clike mode: Recognize triple quoted string in Java.
cypher mode: Fix handling of punctuation.
v5.65.1
Compare Source
Bug fixes
Fix focus tracking in shadow DOM.
go mode: Allow underscores in numbers.
jsx mode: Support TS generics marked by trailing comma.
v5.65.0
Compare Source
Bug fixes
brace-folding addon: Fix broken folding on lines with both braces and square brackets.
New features
vim bindings: Support g0, g$, g.
v5.64.0
Compare Source
Bug fixes
Fix a crash that occurred in some situations with replacing marks across line breaks.
Make sure native scrollbars reset their position when hidden and re-shown.
New features
vim bindings: Support C-u to delete back a line.
v5.63.3
Compare Source
Bug fixes
Prevent external styles from giving the hidden textarea a min-height.
Remove a stray autosave file that was part of the previous release.
v5.63.2
Compare Source
Version 5.63.2
Bug fixes
Prevent external styles from giving the hidden textarea a min-height.
Remove a stray autosave file that was part of the previous release.
v5.63.1
Compare Source
Bug fixes
Fix an issue with mouse scrolling on Chrome 94 Windows, which made scrolling by wheel move unusably slow.
v5.63.0
Compare Source
Bug fixes
Fix scroll position jumping when scrolling a document with very different line heights.
xml mode: Look up HTML element behavior in a case-insensitive way.
New features
vim bindings: Support guu for case-changing.
v5.62.3
Compare Source
Bug fixes
Give the editor a
translate=no
attribute to prevent automatic translation from modifying its content.Give vim-style cursors a width that matches the character after them.
merge addon: Make buttons keyboard-accessible.
emacs bindings: Fix by-page scrolling keybindings, which were accidentally inverted.
v5.62.2
Compare Source
Bug fixes
lint addon: Fix a regression that broke several addon options.
v5.62.1
Compare Source
Bug fixes
vim bindings: Make matching of upper-case characters more Unicode-aware.
lint addon: Prevent options passed to the addon itself from being given to the linter.
show-hint addon: Improve screen reader support.
search addon: Avoid using
innerHTML
.v5.62.0
Compare Source
Bug fixes
Improve support for vim-style cursors in a number of themes.
New features
lint addon: Add support for highlighting lines with errors or warnings.
v5.61.1
Compare Source
Bug fixes
Fix a bug where changing the editor's document could confuse text-direction management.
Fix a bug in horizontally scrolling the cursor into view.
Optimize adding lots of marks in a single transaction.
simple mode addon: Support regexps with a unicode flag.
javascript mode: Add support for TypeScript template string types, improve integration with JSX mode.
v5.61.0
Compare Source
Bug fixes
Improve support for being in a shadow DOM in contenteditable mode.
Prevent line number from being read by screen readers.
show-hint addon: Fix a crash caused by a race condition.
javascript mode: Improve scope tracking.
New features
The library now emits an
"updateGutter"
event when the gutter width changes.emacs bindings: Provide named commands for all bindings.
v5.60.0
Compare Source
Bug fixes
Fix autofocus feature in contenteditable mode.
simple mode addon: Fix a null-dereference crash.
multiplex addon: Make it possible to use
parseDelimiters
when both delimiters are the same.julia mode: Fix a lockup bug.
New features
setSelections
now allows ranges to omit thehead
property when it is equal toanchor
.sublime bindings: Add support for reverse line sorting.
v5.59.4
Compare Source
Bug fixes
Give the scrollbar corner filler a background again, to prevent content from peeping through between the scrollbars.
v5.59.3
Compare Source
Bug fixes
Don't override the way zero-with non-joiners are rendered.
Fix an issue where resetting the history cleared the
undoDepth
option's value.vim bindings: Fix substitute command when joining and splitting lines, fix global command when line number change, add support for
:vglobal
, properly treat caps lock as a modifier key.v5.59.2
Compare Source
Bug fixes
Don't try to scroll the selection into view in
readonly: "nocursor"
mode.closebrackets addon: Fix a regression in the behavior of pressing enter between brackets.
javascript mode: Fix an infinite loop on specific syntax errors in object types.
various modes: Fix inefficient RegExp matching.
v5.59.1
Compare Source
Bug fixes
Fix an issue where some Chrome browsers were detected as iOS.
v5.59.0
Compare Source
Bug fixes
Fix platform detection on recent iPadOS.
lint addon: Don't show duplicate messages for a given line.
clojure mode: Fix regexp that matched in exponential time for some inputs.
hardwrap addon: Improve handling of words that are longer than the line length.
matchbrackets addon: Fix leaked event handler on disabling the addon.
New features
search addon: Make it possible to configure the search addon to show the dialog at the bottom of the editor.
v5.58.3
Compare Source
Bug fixes
Suppress quick-firing of blur-focus events when dragging and clicking on Internet Explorer.
Fix the
insertAt
option toaddLineWidget
to actually allow the widget to be placed after all widgets for the line.soy mode: Support
@Attribute
and element composition.shell mode: Support heredoc quoting.
v5.58.2
Compare Source
Bug fixes
Fix a bug where horizontally scrolling the cursor into view sometimes failed with a non-fixed gutter.
julia mode: Fix an infinite recursion bug.
v5.58.1
Compare Source
Bug fixes
placeholder addon: Remove arrow function that ended up in the code.
v5.58.0
Compare Source
Bug fixes
Make backspace delete by code point, not glyph.
Suppress flickering focus outline when clicking on scrollbars in Chrome.
Fix a bug that prevented attributes added via
markText
from showing up unless the span also had some other styling.Suppress cut and paste context menu entries in readonly editors in Chrome.
placeholder addon: Update placeholder visibility during composition.
New features
Make it less cumbersome to style new lint message types.
vim bindings: Support black hole register,
gn
andgN
v5.57.0
Compare Source
Bug fixes
Fix issue that broke binding the macOS Command key.
comment addon: Keep selection in front of inserted markers when adding a block comment.
css mode: Recognize more properties and value names.
annotatescrollbar addon: Don't hide matches in collapsed content.
New features
vim bindings: Support tag text objects in xml and html modes.
v5.56.0
Compare Source
Bug fixes
Line-wise pasting was fixed on Chrome Windows.
wast mode: Follow standard changes.
soy mode: Support import expressions, template type, and loop indices.
sql-hint addon: Improve handling of double quotes.
New features
show-hint addon: New option
scrollMargin
to control how many options are visible beyond the selected one.hardwrap addon: New option
forceBreak
to disable breaking of words that are longer than a line.v5.55.0
Compare Source
Bug fixes
The editor no longer overrides the rendering of zero-width joiners (allowing combined emoji to be shown).
vim bindings: Fix an issue where the
vim-mode-change
event was fired twice.javascript mode: Only allow
-->
-style comments at the start of a line.julia mode: Improve indentation.
pascal mode: Recognize curly bracket comments.
runmode addon: Further sync up the implementation of the standalone and node variants with the regular library.
New features
loadmode addon: Allow overriding the way the addon constructs filenames and loads modules.
v5.54.0
Compare Source
Bug fixes
Improve support for having focus inside in-editor widgets in contenteditable-mode.
Fix issue where the scroll position could jump when clicking on a selection in Chrome.
python mode: Better format string support.
javascript mode: Improve parsing of private properties and class fields.
matchbrackets addon: Disable highlighting when the editor doesn't have focus.
New features
runmode addon: Properly support for cross-line lookahead.
vim bindings: Allow Ex-Commands with non-word names.
gfm mode: Add a
fencedCodeBlockDefaultMode
option.v5.53.2
Compare Source
Bug fixes
show-hint addon: Fix a regression that broke completion picking.
v5.53.0
Compare Source
Bug fixes
Fix a bug where the editor layout could remain confused after a call to
refresh
when line wrapping was enabled.dialog addon: Don't close dialogs when the document window loses focus.
merge addon: Compensate for editor top position when aligning lines.
vim bindings: Improve EOL handling.
emacs bindings: Include default keymap as a fallback.
julia mode: Fix an infinite loop bug.
show-hint addon: Scroll cursor into view when picking a completion.
New features
New option:
screenReaderLabel
to add a label to the editor.New mode: wast.
v5.52.2
Compare Source
Bug fixes
Fix selection management in contenteditable mode when the editor doesn't have focus.
Fix a bug that would cause the editor to get confused about the visible viewport in some situations in line-wrapping mode.
markdown mode: Don't treat single dashes as setext header markers.
zenburn theme: Make sure background styles take precedence over default styles.
css mode: Recognize a number of new properties.
v5.52.0
Compare Source
Bug fixes
Fix a bug in handling of bidi text with Arabic numbers in a right-to-left editor.
Fix a crash when combining file drop with a
"beforeChange"
filter.Prevent issue when passing negative coordinates to
scrollTo
.New features
lint and tern addons: Allow the tooltip to be appended to the editor wrapper element instead of the document body.
v5.51.0
Compare Source
Bug fixes
Fix the behavior of the home and end keys when
direction
is set to"rtl"
.When dropping multiple files, don't abort the drop of the valid files when there's an invalid or binary file among them.
Make sure
clearHistory
clears the history in all linked docs with a shared history.vim bindings: Fix behavior of
'
and`
marks, fixR
in visual mode.New features
vim bindings: Support
gi
,gI
, andgJ
.v5.50.2
Compare Source
Bug fixes
Fix bug that broke removal of line widgets.
v5.50.0
Compare Source
Bug fixes
Make Shift-Delete to cut work on Firefox.
closetag addon: Properly handle self-closing tags.
handlebars mode: Fix triple-brace support.
searchcursor addon: Support matching
$
in reverse regexp search.panel addon: Don't get confused by changing panel sizes.
javascript-hint addon: Complete variables defined in outer scopes.
sublime bindings: Make by-subword motion more consistent with Sublime Text.
julia mode: Don't break on zero-prefixed integers.
elm mode: Sync with upstream version.
sql mode: Support Postgres-style backslash-escaped string literals.
New features
Add a
className
option toaddLineWidget
.foldcode addon: Allow fold widgets to be functions, to dynamically create fold markers.
New themes: ayu-dark and ayu-mirage.
v5.49.2
Compare Source
Bug fixes
sublime bindings: Make
selectNextOccurrence
stop doing something when all occurrences are selected.continuecomment addon: Respect
indentWithTabs
option.foldgutter addon: Optimize by reusing DOM when possible.
markdown mode: Don't reset inline styles at the start of a continued list item line.
clike mode: Add a configuration for Objective-C++.
v5.49.0
Compare Source
Bug fixes
octave mode: Don't mark common punctuation as error.
clike mode: Support nested comments and properly indent lambdas in Kotlin.
foldgutter and annotatescrollbar addons: Optimize use of
setTimeout
/clearTimeout
.New features
New themes: moxer, material-darker, material-palenight, material-ocean.
xml mode: Provide a more abstract way to query context, which other modes for XML-like languages can also implement.
v5.48.4
Compare Source
Bug fixes
Make default styles for line elements more specific so that they don't apply to all
<pre>
elements inside the editor.Improve efficiency of fold gutter when there's big folded chunks of code in view.
Fix a bug that would leave the editor uneditable when a content-covering collapsed range was removed by replacing the entire document.
julia mode: Support number separators.
asterisk mode: Improve comment support.
handlebars mode: Support triple-brace tags.
v5.48.2
Compare Source
Bug fixes
vim bindings: Adjust char escape substitution to match vim, support
&/$0
.search addon: Try to make backslash behavior in query strings less confusing.
javascript mode: Handle numeric separators, strings in arrow parameter defaults, and TypeScript
in
operator in index types.sparql mode: Allow non-ASCII identifier characters.
v5.48.0
Compare Source
Bug fixes
Treat non-printing character range u+fff9 to u+fffc as special characters and highlight them.
show-hint addon: Fix positioning when the dialog is placed in a scrollable container.
New features
Add
selectLeft
/selectRight
options tomarkText
to provide more control over selection behavior.v5.47.0
Compare Source
Bug fixes
python mode: Properly handle
...
syntax.ruby mode: Fix indenting before closing brackets.
vim bindings: Fix repeat for
C-v I
, fix handling of fat cursorC-v c Esc
and0
, fix@@​
, fix block-wise yank.New features
vim bindings: Add support for
`
text object.v5.46.0
Compare Source
Bug fixes
Properly turn off
autocorrect
andautocapitalize
in the editor's input field.Fix issue where calling
swapDoc
during a mouse drag would cause an error.Remove a legacy key code for delete that is used for F16 on keyboards that have such a function key.
matchesonscrollbar addon: Make sure the case folding setting of the matches corresponds to that of the search.
swift mode: Fix handling of empty strings.
New features
Allow gutters to specify direct CSS strings.
Configuration
📅 Schedule: Branch creation - "before 4am on monday" (UTC), Automerge - At any time (no schedule defined).
🚦 Automerge: Enabled.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR has been generated by Mend Renovate. View repository job log here.