@codemirror/rangeset
Advanced tools
Comparing version 0.18.4 to 0.18.5
@@ -0,1 +1,7 @@ | ||
## 0.18.5 (2021-08-03) | ||
### Bug fixes | ||
Fix a problem in rangeset comparison that caused changes in the covering of point decorations by other decorations to be missed. | ||
## 0.18.4 (2021-06-29) | ||
@@ -2,0 +8,0 @@ |
@@ -751,3 +751,3 @@ import { MapMode } from '@codemirror/state'; | ||
break; | ||
if (this.activeTo[i] > to || this.activeTo[i] == to && this.active[i].endSide > this.point.endSide) | ||
if (this.activeTo[i] > to || this.activeTo[i] == to && this.active[i].endSide >= this.point.endSide) | ||
active.push(this.active[i]); | ||
@@ -773,3 +773,4 @@ } | ||
if (a.point || b.point) { | ||
if (!(a.point && b.point && (a.point == b.point || a.point.eq(b.point)))) | ||
if (!(a.point && b.point && (a.point == b.point || a.point.eq(b.point)) && | ||
sameValues(a.activeForPoint(a.to + dPos), b.activeForPoint(b.to)))) | ||
comparator.comparePoint(pos, clipEnd, a.point, b.point); | ||
@@ -776,0 +777,0 @@ } |
{ | ||
"name": "@codemirror/rangeset", | ||
"version": "0.18.4", | ||
"version": "0.18.5", | ||
"description": "Range set data structure 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
72542
1901