@codemirror/view 6.6.0 → 6.7.1

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 CHANGED
@@ -1,3 +1,31 @@
1
+ ## 6.7.1 (2022-12-12)
2
+
3
+ ### Bug fixes
4
+
5
+ Make the editor properly scroll when moving the pointer out of it during drag selection.
6
+
7
+ Fix a regression where clicking below the content element in an editor with its own height didn't focus the editor.
8
+
9
+ ## 6.7.0 (2022-12-07)
10
+
11
+ ### Bug fixes
12
+
13
+ Make the editor notice widget height changes to automatically adjust its height information.
14
+
15
+ Fix an issue where widget buffers could be incorrectly omitted after empty lines.
16
+
17
+ Fix an issue in content redrawing that could cause `coordsAtPos` to return incorrect results.
18
+
19
+ ### New features
20
+
21
+ The static `RectangleMarker.forRange` method exposes the logic used by the editor to draw rectangles covering a selection range.
22
+
23
+ Layers can now provide a `destroy` function to be called when the layer is removed.
24
+
25
+ The new `highlightWhitespace` extension makes spaces and tabs in the editor visible.
26
+
27
+ The `highlightTrailingWhitespace` extension can be used to make trailing whitespace stand out.
28
+
1
29
  ## 6.6.0 (2022-11-24)
2
30
 
3
31
  ### New features