codemirror/merge (@codemirror/merge)
### [`v6.7.2`](https://redirect.github.com/codemirror/merge/blob/HEAD/CHANGELOG.md#672-2024-10-10)
[Compare Source](https://redirect.github.com/codemirror/merge/compare/6.7.1...6.7.2)
##### Bug fixes
Fix a bug in `presentableDiff` that could cause it to produce corrupted diffs.
### [`v6.7.1`](https://redirect.github.com/codemirror/merge/blob/HEAD/CHANGELOG.md#671-2024-09-17)
[Compare Source](https://redirect.github.com/codemirror/merge/compare/6.7.0...6.7.1)
##### Bug fixes
Improve the way `presentableDiff` aligns changes to line boundaries when possible.
### [`v6.7.0`](https://redirect.github.com/codemirror/merge/blob/HEAD/CHANGELOG.md#670-2024-08-18)
[Compare Source](https://redirect.github.com/codemirror/merge/compare/6.6.7...6.7.0)
##### New features
`unifiedMergeView` now supports the `collapseUnchanged` option the way the split view does.
### [`v6.6.7`](https://redirect.github.com/codemirror/merge/blob/HEAD/CHANGELOG.md#667-2024-07-31)
[Compare Source](https://redirect.github.com/codemirror/merge/compare/6.6.6...6.6.7)
##### Bug fixes
Fix a bug in the way spacers were inserted at the top of the viewport.
### [`v6.6.6`](https://redirect.github.com/codemirror/merge/blob/HEAD/CHANGELOG.md#666-2024-07-30)
[Compare Source](https://redirect.github.com/codemirror/merge/compare/6.6.5...6.6.6)
##### Bug fixes
Improve vertical alignment of huge unchanged chunks in the side-by-side view.
### [`v6.6.5`](https://redirect.github.com/codemirror/merge/blob/HEAD/CHANGELOG.md#665-2024-07-18)
[Compare Source](https://redirect.github.com/codemirror/merge/compare/6.6.4...6.6.5)
##### Bug fixes
Fix an issue that would corrupt the text displayed for some deleted lines in the unified merge view.
### [`v6.6.4`](https://redirect.github.com/codemirror/merge/blob/HEAD/CHANGELOG.md#664-2024-07-18)
[Compare Source](https://redirect.github.com/codemirror/merge/compare/6.6.3...6.6.4)
##### Bug fixes
Fix syntax and change highlighting in deleted lines in the unified merge view.
### [`v6.6.3`](https://redirect.github.com/codemirror/merge/blob/HEAD/CHANGELOG.md#663-2024-06-07)
[Compare Source](https://redirect.github.com/codemirror/merge/compare/6.6.2...6.6.3)
##### Bug fixes
Fix `originalDocChangeEffect` to apply the changes to the appropriate document.
### [`v6.6.2`](https://redirect.github.com/codemirror/merge/blob/HEAD/CHANGELOG.md#662-2024-05-17)
[Compare Source](https://redirect.github.com/codemirror/merge/compare/6.6.1...6.6.2)
##### Bug fixes
Restore the default scan limit when diffing for chunks, which looks like it was accidentally dropped when it was made configurable in 6.3.0.
codemirror/view (@codemirror/view)
### [`v6.34.1`](https://redirect.github.com/codemirror/view/blob/HEAD/CHANGELOG.md#6341-2024-09-27)
[Compare Source](https://redirect.github.com/codemirror/view/compare/6.34.0...6.34.1)
##### Bug fixes
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.
### [`v6.34.0`](https://redirect.github.com/codemirror/view/blob/HEAD/CHANGELOG.md#6340-2024-09-25)
[Compare Source](https://redirect.github.com/codemirror/view/compare/6.33.0...6.34.0)
##### 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.
### [`v6.33.0`](https://redirect.github.com/codemirror/view/blob/HEAD/CHANGELOG.md#6330-2024-08-24)
[Compare Source](https://redirect.github.com/codemirror/view/compare/6.32.0...6.33.0)
##### Bug fixes
Make it easier to move the pointer over a hover tooltip with an arrow by not closing the tooltip when the pointer is moving over the gap for the arrow.
##### New features
The new `EditorView.clipboardInputFilter` and `clipboardOutputFilter` facets allow you to register filter functions that change text taken from or sent to the clipboard.
### [`v6.32.0`](https://redirect.github.com/codemirror/view/blob/HEAD/CHANGELOG.md#6320-2024-08-12)
[Compare Source](https://redirect.github.com/codemirror/view/compare/6.31.0...6.32.0)
##### Bug fixes
Fix a bug where the editor could draw way too big a viewport when not managing its own scrollbar.
##### New features
The new `gutterWidgetClass` facet makes it possible to add a class to gutter elements next to widgets.
### [`v6.31.0`](https://redirect.github.com/codemirror/view/blob/HEAD/CHANGELOG.md#6310-2024-08-11)
[Compare Source](https://redirect.github.com/codemirror/view/compare/6.30.0...6.31.0)
##### Bug fixes
Avoid the editor's geometry measurements becoming incorrect when fonts finish loading by scheduling a measure on `document.fonts.ready`.
Avoid an issue where Chrome would incorrectly scroll the window when deleting lines in the editor.
Fix an issue where in some layouts editor content would be drawn on top of panel elements.
Fix an issue where `coordsAtPos` would return null when querying a position in a block widget.
##### New features
The new `lineNumberWidgetMarker` facet makes it possible to insert markers into the line number gutter for widgets.
### [`v6.30.0`](https://redirect.github.com/codemirror/view/blob/HEAD/CHANGELOG.md#6300-2024-08-05)
[Compare Source](https://redirect.github.com/codemirror/view/compare/6.29.1...6.30.0)
##### Bug fixes
Make spell check corrections work again on `EditContext`-enabled Chrome versions.
##### New features
The value returned by `hoverTooltip` now has an `active` property providing the state field used to store the open tooltips.
### [`v6.29.1`](https://redirect.github.com/codemirror/view/blob/HEAD/CHANGELOG.md#6291-2024-07-29)
[Compare Source](https://redirect.github.com/codemirror/view/compare/6.29.0...6.29.1)
##### Bug fixes
Fix a crash on old Safari browsers that don't support `MediaQueryList.addEventListener`.
Fix an issue where `EditorView.viewportLineBlocks` (and thus other things like the gutter) might be out of date after some kinds of decoration changes.
### [`v6.29.0`](https://redirect.github.com/codemirror/view/blob/HEAD/CHANGELOG.md#6290-2024-07-25)
[Compare Source](https://redirect.github.com/codemirror/view/compare/6.28.6...6.29.0)
##### Bug fixes
Fix an issue that caused typing into an editor marked read-only to cause document changes when using `EditContext`.
Associate a cursor created by clicking above the end of the text on a wrap point with the line before it.
##### New features
The package now exports the type of hover tooltip sources as `HoverTooltipSource`.
### [`v6.28.6`](https://redirect.github.com/codemirror/view/blob/HEAD/CHANGELOG.md#6286-2024-07-19)
[Compare Source](https://redirect.github.com/codemirror/view/compare/6.28.5...6.28.6)
##### Bug fixes
Fix an issue where the editor got confused about the position of inserted text when using Chrome's `EditContext` and canceling transactions for typed text.
### [`v6.28.5`](https://redirect.github.com/codemirror/view/blob/HEAD/CHANGELOG.md#6285-2024-07-17)
[Compare Source](https://redirect.github.com/codemirror/view/compare/6.28.4...6.28.5)
##### Bug fixes
Fix a bug that broke drag scrolling along one axis when the innermost scrollable element around the editor was only scrollable along the other axis.
Work around a memory leak in Chrome's EditContext implementation.
### [`v6.28.4`](https://redirect.github.com/codemirror/view/blob/HEAD/CHANGELOG.md#6284-2024-07-03)
[Compare Source](https://redirect.github.com/codemirror/view/compare/6.28.3...6.28.4)
##### Bug fixes
Fix a bug where EditContext-based editing could corrupt the document in some situations.
### [`v6.28.3`](https://redirect.github.com/codemirror/view/blob/HEAD/CHANGELOG.md#6283-2024-07-01)
[Compare Source](https://redirect.github.com/codemirror/view/compare/6.28.2...6.28.3)
##### Bug fixes
Fix an issue causing the IME interface to appear in the wrong spot on Chrome Windows.
### [`v6.28.2`](https://redirect.github.com/codemirror/view/blob/HEAD/CHANGELOG.md#6282-2024-06-21)
[Compare Source](https://redirect.github.com/codemirror/view/compare/6.28.1...6.28.2)
##### Bug fixes
Only use `EditContext` on Chrome versions that support passing it an inverted selection range.
Fix an issue that prevented non-inclusive block widgets from having their `updateDOM` method called when changed.
Re-enable `EditContext` use on Chrome 126 and up.
### [`v6.28.1`](https://redirect.github.com/codemirror/view/blob/HEAD/CHANGELOG.md#6281-2024-06-12)
[Compare Source](https://redirect.github.com/codemirror/view/compare/6.28.0...6.28.1)
##### Bug fixes
Disable `EditContext` by default again, to work around a regression where Chrome's implementation doesn't support inverted selections.
Make sure `EditorView.editable` is respected when `EditContext` is used.
### [`v6.28.0`](https://redirect.github.com/codemirror/view/blob/HEAD/CHANGELOG.md#6280-2024-06-10)
[Compare Source](https://redirect.github.com/codemirror/view/compare/6.27.0...6.28.0)
##### Bug fixes
Fix an issue where long lines broken up by block widgets were sometimes only partially rendered.
##### New features
The editor will now, when available (which is only on Chrome for the foreseeable future) use the [`EditContext`](https://developer.mozilla.org/en-US/docs/Web/API/EditContext) API to capture text input.
### [`v6.27.0`](https://redirect.github.com/codemirror/view/blob/HEAD/CHANGELOG.md#6270-2024-06-04)
[Compare Source](https://redirect.github.com/codemirror/view/compare/6.26.4...6.27.0)
##### New features
The new `setTabFocusMode` method can be used to control whether the editor disables key bindings for Tab and Shift-Tab.
### [`v6.26.4`](https://redirect.github.com/codemirror/view/blob/HEAD/CHANGELOG.md#6264-2024-06-04)
[Compare Source](https://redirect.github.com/codemirror/view/compare/6.26.3...6.26.4)
##### Bug fixes
Fix an issue where commands with an optional second argument would get the keyboard event in that argument when called from a keymap.
Fix an issue that could cause the cursor to be rendered on the wrong side of a zero-length block widget.
Fix an issue where `drawSelection` got confused by block widgets in line-wrapped editors in some situations.
Don't hide the native selection in widgets that have focus.
Make sure that clicking an unfocusable editor still remove focus from any other focused elements.
Fix a crash when loading the package in a non-browser environment.
Stop mouse selection when the user types.
Configuration
📅 Schedule: Branch creation - "every 3 months on the first day of the month" (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.
[ ] If you want to rebase/retry this PR, check this box
This PR contains the following updates:
6.6.1
->6.7.2
6.26.3
->6.34.1
Release Notes
codemirror/merge (@codemirror/merge)
### [`v6.7.2`](https://redirect.github.com/codemirror/merge/blob/HEAD/CHANGELOG.md#672-2024-10-10) [Compare Source](https://redirect.github.com/codemirror/merge/compare/6.7.1...6.7.2) ##### Bug fixes Fix a bug in `presentableDiff` that could cause it to produce corrupted diffs. ### [`v6.7.1`](https://redirect.github.com/codemirror/merge/blob/HEAD/CHANGELOG.md#671-2024-09-17) [Compare Source](https://redirect.github.com/codemirror/merge/compare/6.7.0...6.7.1) ##### Bug fixes Improve the way `presentableDiff` aligns changes to line boundaries when possible. ### [`v6.7.0`](https://redirect.github.com/codemirror/merge/blob/HEAD/CHANGELOG.md#670-2024-08-18) [Compare Source](https://redirect.github.com/codemirror/merge/compare/6.6.7...6.7.0) ##### New features `unifiedMergeView` now supports the `collapseUnchanged` option the way the split view does. ### [`v6.6.7`](https://redirect.github.com/codemirror/merge/blob/HEAD/CHANGELOG.md#667-2024-07-31) [Compare Source](https://redirect.github.com/codemirror/merge/compare/6.6.6...6.6.7) ##### Bug fixes Fix a bug in the way spacers were inserted at the top of the viewport. ### [`v6.6.6`](https://redirect.github.com/codemirror/merge/blob/HEAD/CHANGELOG.md#666-2024-07-30) [Compare Source](https://redirect.github.com/codemirror/merge/compare/6.6.5...6.6.6) ##### Bug fixes Improve vertical alignment of huge unchanged chunks in the side-by-side view. ### [`v6.6.5`](https://redirect.github.com/codemirror/merge/blob/HEAD/CHANGELOG.md#665-2024-07-18) [Compare Source](https://redirect.github.com/codemirror/merge/compare/6.6.4...6.6.5) ##### Bug fixes Fix an issue that would corrupt the text displayed for some deleted lines in the unified merge view. ### [`v6.6.4`](https://redirect.github.com/codemirror/merge/blob/HEAD/CHANGELOG.md#664-2024-07-18) [Compare Source](https://redirect.github.com/codemirror/merge/compare/6.6.3...6.6.4) ##### Bug fixes Fix syntax and change highlighting in deleted lines in the unified merge view. ### [`v6.6.3`](https://redirect.github.com/codemirror/merge/blob/HEAD/CHANGELOG.md#663-2024-06-07) [Compare Source](https://redirect.github.com/codemirror/merge/compare/6.6.2...6.6.3) ##### Bug fixes Fix `originalDocChangeEffect` to apply the changes to the appropriate document. ### [`v6.6.2`](https://redirect.github.com/codemirror/merge/blob/HEAD/CHANGELOG.md#662-2024-05-17) [Compare Source](https://redirect.github.com/codemirror/merge/compare/6.6.1...6.6.2) ##### Bug fixes Restore the default scan limit when diffing for chunks, which looks like it was accidentally dropped when it was made configurable in 6.3.0.codemirror/view (@codemirror/view)
### [`v6.34.1`](https://redirect.github.com/codemirror/view/blob/HEAD/CHANGELOG.md#6341-2024-09-27) [Compare Source](https://redirect.github.com/codemirror/view/compare/6.34.0...6.34.1) ##### Bug fixes 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. ### [`v6.34.0`](https://redirect.github.com/codemirror/view/blob/HEAD/CHANGELOG.md#6340-2024-09-25) [Compare Source](https://redirect.github.com/codemirror/view/compare/6.33.0...6.34.0) ##### 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. ### [`v6.33.0`](https://redirect.github.com/codemirror/view/blob/HEAD/CHANGELOG.md#6330-2024-08-24) [Compare Source](https://redirect.github.com/codemirror/view/compare/6.32.0...6.33.0) ##### Bug fixes Make it easier to move the pointer over a hover tooltip with an arrow by not closing the tooltip when the pointer is moving over the gap for the arrow. ##### New features The new `EditorView.clipboardInputFilter` and `clipboardOutputFilter` facets allow you to register filter functions that change text taken from or sent to the clipboard. ### [`v6.32.0`](https://redirect.github.com/codemirror/view/blob/HEAD/CHANGELOG.md#6320-2024-08-12) [Compare Source](https://redirect.github.com/codemirror/view/compare/6.31.0...6.32.0) ##### Bug fixes Fix a bug where the editor could draw way too big a viewport when not managing its own scrollbar. ##### New features The new `gutterWidgetClass` facet makes it possible to add a class to gutter elements next to widgets. ### [`v6.31.0`](https://redirect.github.com/codemirror/view/blob/HEAD/CHANGELOG.md#6310-2024-08-11) [Compare Source](https://redirect.github.com/codemirror/view/compare/6.30.0...6.31.0) ##### Bug fixes Avoid the editor's geometry measurements becoming incorrect when fonts finish loading by scheduling a measure on `document.fonts.ready`. Avoid an issue where Chrome would incorrectly scroll the window when deleting lines in the editor. Fix an issue where in some layouts editor content would be drawn on top of panel elements. Fix an issue where `coordsAtPos` would return null when querying a position in a block widget. ##### New features The new `lineNumberWidgetMarker` facet makes it possible to insert markers into the line number gutter for widgets. ### [`v6.30.0`](https://redirect.github.com/codemirror/view/blob/HEAD/CHANGELOG.md#6300-2024-08-05) [Compare Source](https://redirect.github.com/codemirror/view/compare/6.29.1...6.30.0) ##### Bug fixes Make spell check corrections work again on `EditContext`-enabled Chrome versions. ##### New features The value returned by `hoverTooltip` now has an `active` property providing the state field used to store the open tooltips. ### [`v6.29.1`](https://redirect.github.com/codemirror/view/blob/HEAD/CHANGELOG.md#6291-2024-07-29) [Compare Source](https://redirect.github.com/codemirror/view/compare/6.29.0...6.29.1) ##### Bug fixes Fix a crash on old Safari browsers that don't support `MediaQueryList.addEventListener`. Fix an issue where `EditorView.viewportLineBlocks` (and thus other things like the gutter) might be out of date after some kinds of decoration changes. ### [`v6.29.0`](https://redirect.github.com/codemirror/view/blob/HEAD/CHANGELOG.md#6290-2024-07-25) [Compare Source](https://redirect.github.com/codemirror/view/compare/6.28.6...6.29.0) ##### Bug fixes Fix an issue that caused typing into an editor marked read-only to cause document changes when using `EditContext`. Associate a cursor created by clicking above the end of the text on a wrap point with the line before it. ##### New features The package now exports the type of hover tooltip sources as `HoverTooltipSource`. ### [`v6.28.6`](https://redirect.github.com/codemirror/view/blob/HEAD/CHANGELOG.md#6286-2024-07-19) [Compare Source](https://redirect.github.com/codemirror/view/compare/6.28.5...6.28.6) ##### Bug fixes Fix an issue where the editor got confused about the position of inserted text when using Chrome's `EditContext` and canceling transactions for typed text. ### [`v6.28.5`](https://redirect.github.com/codemirror/view/blob/HEAD/CHANGELOG.md#6285-2024-07-17) [Compare Source](https://redirect.github.com/codemirror/view/compare/6.28.4...6.28.5) ##### Bug fixes Fix a bug that broke drag scrolling along one axis when the innermost scrollable element around the editor was only scrollable along the other axis. Work around a memory leak in Chrome's EditContext implementation. ### [`v6.28.4`](https://redirect.github.com/codemirror/view/blob/HEAD/CHANGELOG.md#6284-2024-07-03) [Compare Source](https://redirect.github.com/codemirror/view/compare/6.28.3...6.28.4) ##### Bug fixes Fix a bug where EditContext-based editing could corrupt the document in some situations. ### [`v6.28.3`](https://redirect.github.com/codemirror/view/blob/HEAD/CHANGELOG.md#6283-2024-07-01) [Compare Source](https://redirect.github.com/codemirror/view/compare/6.28.2...6.28.3) ##### Bug fixes Fix an issue causing the IME interface to appear in the wrong spot on Chrome Windows. ### [`v6.28.2`](https://redirect.github.com/codemirror/view/blob/HEAD/CHANGELOG.md#6282-2024-06-21) [Compare Source](https://redirect.github.com/codemirror/view/compare/6.28.1...6.28.2) ##### Bug fixes Only use `EditContext` on Chrome versions that support passing it an inverted selection range. Fix an issue that prevented non-inclusive block widgets from having their `updateDOM` method called when changed. Re-enable `EditContext` use on Chrome 126 and up. ### [`v6.28.1`](https://redirect.github.com/codemirror/view/blob/HEAD/CHANGELOG.md#6281-2024-06-12) [Compare Source](https://redirect.github.com/codemirror/view/compare/6.28.0...6.28.1) ##### Bug fixes Disable `EditContext` by default again, to work around a regression where Chrome's implementation doesn't support inverted selections. Make sure `EditorView.editable` is respected when `EditContext` is used. ### [`v6.28.0`](https://redirect.github.com/codemirror/view/blob/HEAD/CHANGELOG.md#6280-2024-06-10) [Compare Source](https://redirect.github.com/codemirror/view/compare/6.27.0...6.28.0) ##### Bug fixes Fix an issue where long lines broken up by block widgets were sometimes only partially rendered. ##### New features The editor will now, when available (which is only on Chrome for the foreseeable future) use the [`EditContext`](https://developer.mozilla.org/en-US/docs/Web/API/EditContext) API to capture text input. ### [`v6.27.0`](https://redirect.github.com/codemirror/view/blob/HEAD/CHANGELOG.md#6270-2024-06-04) [Compare Source](https://redirect.github.com/codemirror/view/compare/6.26.4...6.27.0) ##### New features The new `setTabFocusMode` method can be used to control whether the editor disables key bindings for Tab and Shift-Tab. ### [`v6.26.4`](https://redirect.github.com/codemirror/view/blob/HEAD/CHANGELOG.md#6264-2024-06-04) [Compare Source](https://redirect.github.com/codemirror/view/compare/6.26.3...6.26.4) ##### Bug fixes Fix an issue where commands with an optional second argument would get the keyboard event in that argument when called from a keymap. Fix an issue that could cause the cursor to be rendered on the wrong side of a zero-length block widget. Fix an issue where `drawSelection` got confused by block widgets in line-wrapped editors in some situations. Don't hide the native selection in widgets that have focus. Make sure that clicking an unfocusable editor still remove focus from any other focused elements. Fix a crash when loading the package in a non-browser environment. Stop mouse selection when the user types.Configuration
📅 Schedule: Branch creation - "every 3 months on the first day of the month" (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 was generated by Mend Renovate. View the repository job log.