@codemirror/view 6.3.0 → 6.4.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +30 -0
- package/dist/index.cjs +351 -276
- package/dist/index.d.ts +5 -0
- package/dist/index.js +351 -276
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,33 @@
|
|
|
1
|
+
## 6.4.0 (2022-10-18)
|
|
2
|
+
|
|
3
|
+
### Bug fixes
|
|
4
|
+
|
|
5
|
+
Avoid an issue where `scrollPastEnd` makes a single-line editor have a vertical scrollbar.
|
|
6
|
+
|
|
7
|
+
Work around a Chrome bug where it inserts a newline when you press space at the start of a wrapped line.
|
|
8
|
+
|
|
9
|
+
Align `rectangularSelection`'s behavior with other popular editors by making it create cursors at the end of lines that are too short to touch the rectangle.
|
|
10
|
+
|
|
11
|
+
Fix an issue where coordinates on mark decoration boundaries were sometimes taken from the wrong side of the position.
|
|
12
|
+
|
|
13
|
+
Prevent scrolling artifacts caused by attempts to scroll stuff into view when the editor isn't being displayed.
|
|
14
|
+
|
|
15
|
+
### New features
|
|
16
|
+
|
|
17
|
+
`TooltipView` objects can now provide a `destroy` method to be called when the tooltip is removed.
|
|
18
|
+
|
|
19
|
+
## 6.3.1 (2022-10-10)
|
|
20
|
+
|
|
21
|
+
### Bug fixes
|
|
22
|
+
|
|
23
|
+
Fix a crash when trying to scroll something into view in an editor that wasn't in the visible DOM.
|
|
24
|
+
|
|
25
|
+
Fix an issue where `coordsAtPos` returned the coordinates on the wrong side of a widget decoration wrapped in a mark decoration.
|
|
26
|
+
|
|
27
|
+
Fix an issue where content on long wrapped lines could fail to properly scroll into view.
|
|
28
|
+
|
|
29
|
+
Fix an issue where DOM change reading on Chrome Android could get confused when a transaction came in right after a beforeinput event for backspace, enter, or delete.
|
|
30
|
+
|
|
1
31
|
## 6.3.0 (2022-09-28)
|
|
2
32
|
|
|
3
33
|
### Bug fixes
|