@codemirror/text
Advanced tools
Changelog
0.19.6 (2022-01-14)
findClusterBreak
now takes an optional includeExtending
argument that determines whether it skips over extending characters.
Changelog
0.19.4 (2021-10-01)
TextIterator
s are now iterable.
findColumn
now takes an optional strict
argument that makes it report -1 for columns outside of the string.
Changelog
0.19.3 (2021-09-04)
Fix an issue where a partial text cursor would sometimes not appropriately report it was done.
Changelog
0.19.2 (2021-08-25)
Text.children
is now public, and can be used to iterate over the Text
objects in a tree.
Changelog
0.19.1 (2021-08-23)
Text
objects now expose an iterLines
method to create an iterator over their lines.
Changelog
0.18.1 (2021-07-06)
findColumn
now takes only three arguments. (The old argument list will be supported until the next breaking version.)