@codemirror/view
Advanced tools
Comparing version 0.18.16 to 0.18.17
@@ -0,1 +1,9 @@ | ||
## 0.18.17 (2021-06-14) | ||
### Bug fixes | ||
Make `drawSelection` behave properly when lines are split by block widgets. | ||
Make sure drawn selections that span a single line break don't leave a gap between the lines. | ||
## 0.18.16 (2021-06-03) | ||
@@ -2,0 +10,0 @@ |
@@ -791,7 +791,5 @@ import * as _codemirror_rangeset from '@codemirror/rangeset'; | ||
/** | ||
Find the extent and height of the visual line (the content shown | ||
in the editor as a line, which may be smaller than a document | ||
line when broken up by block widgets, or bigger than a document | ||
line when line breaks are covered by replaced decorations) at | ||
the given position. | ||
Find the extent and height of the visual line (a range delimited | ||
on both sides by either non-[hidden](https://codemirror.net/6/docs/ref/#view.Decoration^range) | ||
line breaks, or the start/end of the document) at the given position. | ||
@@ -798,0 +796,0 @@ Vertical positions are computed relative to the `docTop` |
{ | ||
"name": "@codemirror/view", | ||
"version": "0.18.16", | ||
"version": "0.18.17", | ||
"description": "DOM view component for the CodeMirror code editor", | ||
@@ -5,0 +5,0 @@ "scripts": { |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
606539
14862