Avoid a stack overflow that could happen when updating a line with a lot of text tokens.
Improve the way enormously long (non-wrapped) lines are displayed by making sure they stay shorter than the maximal pixel size the browser's CSS engine can handle.
6.34.0 (2024-09-25)
Bug fixes
Fix an issue where the dots past the wrapping point were displayed incorrectly when using highlightWhitespace with a wrapped sequence of spaces.
Improve performance of documents displaying lots of highlighted spaces by using a CSS background instead of pseudo-element.
New features
placeholder now allows a function that constructs the placedholder DOM to be passed in, and uses cloneNode when a raw element is passed in, to prevent adding the same element to multiple editors.
6.33.1 (2024-08-30)
Bug fixes
Work around odd behavior in Chrome's newly supported caretPositionFromPoint method, which could cause CodeMirror to crash with a null dereference.
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)
Bumps @codemirror/view from 6.33.0 to 6.34.1.
Changelog
Sourced from
@codemirror/view
's changelog.Commits
1d9f008
Mark version 6.34.1a5424ff
Add support for basic scaling of horizontal gaps86d355a
Prevent stack overflow via Array.splice when updating big content views79b8812
Mark version 6.34.0605fd72
Use a background instead of a :before element for highlighted spacesaea2395
Fix bad display of wrapped whitespace in highlightWhitespace48ffb17
Drop old comment154c03b
Allow a DOM constructor function to be passed to placeholderd6c45ca
Fix reference to wrong DOM element in DOMObserver.onSelectionChange6064191
Remove unnecessary utility functionDependabot 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