@codemirror/view 6.5.1 → 6.7.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 +28 -0
- package/dist/index.cjs +312 -146
- package/dist/index.d.ts +108 -1
- package/dist/index.js +309 -147
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,31 @@
|
|
|
1
|
+
## 6.7.0 (2022-12-07)
|
|
2
|
+
|
|
3
|
+
### Bug fixes
|
|
4
|
+
|
|
5
|
+
Make the editor notice widget height changes to automatically adjust its height information.
|
|
6
|
+
|
|
7
|
+
Fix an issue where widget buffers could be incorrectly omitted after empty lines.
|
|
8
|
+
|
|
9
|
+
Fix an issue in content redrawing that could cause `coordsAtPos` to return incorrect results.
|
|
10
|
+
|
|
11
|
+
### New features
|
|
12
|
+
|
|
13
|
+
The static `RectangleMarker.forRange` method exposes the logic used by the editor to draw rectangles covering a selection range.
|
|
14
|
+
|
|
15
|
+
Layers can now provide a `destroy` function to be called when the layer is removed.
|
|
16
|
+
|
|
17
|
+
The new `highlightWhitespace` extension makes spaces and tabs in the editor visible.
|
|
18
|
+
|
|
19
|
+
The `highlightTrailingWhitespace` extension can be used to make trailing whitespace stand out.
|
|
20
|
+
|
|
21
|
+
## 6.6.0 (2022-11-24)
|
|
22
|
+
|
|
23
|
+
### New features
|
|
24
|
+
|
|
25
|
+
The `layer` function can now be used to define extensions that draw DOM elements over or below the document text.
|
|
26
|
+
|
|
27
|
+
Tooltips that are bigger than the available vertical space for them will now have their height set so that they don't stick out of the window. The new `resize` property on `TooltipView` can be used to opt out of this behavior.
|
|
28
|
+
|
|
1
29
|
## 6.5.1 (2022-11-15)
|
|
2
30
|
|
|
3
31
|
### Bug fixes
|