scalacenter / scastie

An interactive playground for Scala
https://scastie.scala-lang.org
Apache License 2.0
432 stars 104 forks source link

Bump @codemirror/view from 6.13.2 to 6.18.1 #937

Closed dependabot[bot] closed 1 year ago

dependabot[bot] commented 1 year ago

Bumps @codemirror/view from 6.13.2 to 6.18.1.

Changelog

Sourced from @​codemirror/view's changelog.

6.18.1 (2023-09-11)

Bug fixes

Fix an issue where the editor duplicated text when the browser moved content into the focused text node on composition.

Make sure widgetMarker is called for gutters on lines covered by a block replace decoration.

Fix an issue where the cursor could be shown in a position that doesn't allow a cursor when the selection is in a block widget.

6.18.0 (2023-09-05)

New features

The new EditorView.scaleX and scaleY properties return the CSS-transformed scale of the editor (or 1 when not scaled).

The editor now supports being scaled with CSS.

6.17.1 (2023-08-31)

Bug fixes

Don't close the hover tooltip when the pointer moves over empty space caused by line breaks within the hovered range.

Fix a bug where on Chrome Android, if a virtual keyboard was slow to apply a change, the editor could end up dropping it.

Work around an issue where line-wise copy/cut didn't work in Firefox because the browser wasn't firing those events when nothing was selected.

Fix a crash triggered by the way some Android IME systems update the DOM.

Fix a bug that caused replacing a word by an emoji on Chrome Android to be treated as a backspace press.

6.17.0 (2023-08-28)

Bug fixes

Fix a bug that broke hover tooltips when hovering over a widget.

New features

The new EditorView.cspNonce facet can be used to provide a Content Security Policy nonce for the library's generated CSS.

The new EditorView.bidiIsolatedRanges can be used to inform the editor about ranges styled as Unicode bidirection isolates, so that it can compute the character order correctly.

EditorView.dispatch now also accepts an array of transactions to be applied together in a single view update.

The new dispatchTransactions option to new EditorView now replaces the old (deprecated but still supported) dispatch option in a way that allows multiple transactions to be applied in one update.

Input handlers are now passed an additional argument that they can use to retrieve the default transaction that would be applied for the insertion.

... (truncated)

Commits
  • 0ad4312 Mark version 6.18.1
  • f4d79ef Don't put the DOM selection between block elements
  • 832e684 Properly create widget gutter markers for replaced ranges
  • 6434180 Fix setting caret bidi level on Firefox
  • d167946 Use a more robust approach for getting the position of the DOM selection
  • 5b22236 Always call setDOM for composition nodes
  • 7b68a9b Make locating the composition more robust
  • 152ce46 Mark version 6.18.0
  • 7d46e47 Make sure composition view descs are marked dirty when they have children
  • 4ddc262 Make the editor robust in the face of CSS scaling
  • Additional commits viewable in compare view


Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot show ignore conditions` will show all of the ignore conditions of the specified dependency - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
dependabot[bot] commented 1 year ago

Superseded by #942.