@codemirror/view
Advanced tools
Comparing version 0.19.7 to 0.19.8
@@ -0,1 +1,13 @@ | ||
## 0.19.8 (2021-09-26) | ||
### Bug fixes | ||
Fix a bug that could, on DOM changes near block widgets, insert superfluous line breaks. | ||
Make interacting with a destroyed editor view do nothing, rather than crash, to avoid tripping people up with pending timeouts and such. | ||
Make sure `ViewUpdate.viewportChanged` is true whenever `visibleRanges` changes, so that plugins acting only on visible ranges can use it to check when to update. | ||
Fix line-wise cut on empty lines. | ||
## 0.19.7 (2021-09-13) | ||
@@ -2,0 +14,0 @@ |
@@ -455,3 +455,5 @@ import * as _codemirror_rangeset from '@codemirror/rangeset'; | ||
/** | ||
Tells you whether the viewport changed in this update. | ||
Tells you whether the [viewport](https://codemirror.net/6/docs/ref/#view.EditorView.viewport) or | ||
[visible ranges](https://codemirror.net/6/docs/ref/#view.EditorView.visibleRanges) changed in this | ||
update. | ||
*/ | ||
@@ -692,2 +694,3 @@ get viewportChanged(): boolean; | ||
private bidiCache; | ||
private destroyed; | ||
/** | ||
@@ -694,0 +697,0 @@ Construct a new view. You'll usually want to put `view.dom` into |
{ | ||
"name": "@codemirror/view", | ||
"version": "0.19.7", | ||
"version": "0.19.8", | ||
"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
620591
15130