@codemirror/highlight
Advanced tools
Comparing version 0.19.3 to 0.19.4
@@ -0,1 +1,7 @@ | ||
## 0.19.4 (2021-09-03) | ||
### Bug fixes | ||
Fix a regression in 0.19.3 in highlighting over overlay trees. | ||
## 0.19.3 (2021-09-03) | ||
@@ -2,0 +8,0 @@ |
@@ -464,3 +464,3 @@ import { NodeProp, NodeType } from '@lezer/common'; | ||
this.highlightRange(cursor, rangeFrom, rangeTo, inheritedClass, depth + 1, scope); | ||
this.startSpan(Math.min(to, rangeTo), cls); | ||
this.startSpan(Math.min(to, cursor.to), cls); | ||
if (cursor.to >= nextPos || !cursor.nextSibling()) | ||
@@ -467,0 +467,0 @@ break; |
{ | ||
"name": "@codemirror/highlight", | ||
"version": "0.19.3", | ||
"version": "0.19.4", | ||
"description": "Syntax highlighting for the CodeMirror code editor", | ||
@@ -5,0 +5,0 @@ "scripts": { |
Sorry, the diff of this file is not supported yet
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
107131