@codemirror/rangeset
Advanced tools
Changelog
0.19.9 (2022-03-09)
Fix an issue where points that are entirely covered by a point coming before them could be returend by a span iterator when it started directly at the point's position.
Changelog
0.19.8 (2022-02-19)
Fix a bug where mapping a changeset through an empty set of changes would produce a new value.
Changelog
0.19.7 (2022-02-15)
Fix an issue that caused the sort
option to RangeSet.update
to have no effect.
Changelog
0.19.6 (2022-01-05)
Fix an issue where range sets that weren't mapped could cause RangeSet.compare
to miss changes.
Fix a bug where a zero-length range, even when inclusive, was never mapped to cover any content.
Changelog
0.19.5 (2021-12-21)
RangeSet.spans
now allows the iterator to have a filterPoint
method, which can determine which point ranges are ignored.
Changelog
0.19.4 (2021-12-14)
Make sure non-empty point ranges at the end of another point range are covered by the bigger range.
Changelog
0.19.3 (2021-12-14)
Fix an issue in RangeSet.compare
where the interaction between spans and points sometimes caused points that had their wrapping spans changed to not be reported.
Changelog
0.19.2 (2021-11-12)
Fix a bug in RangeSet.compare
that would cause it miss changes when range sets were identical but the content under them moved.
Fix an issue where RangeSet.eq
would consider rangesets equal even if they had a differing point range at the end of the compared range.
Changelog
0.19.1 (2021-08-20)
Fix a bug in range set iteration that would sometimes cause ranges to report their position as NaN, breaking downstream code.