findClusterBreak
now takes an optional includeExtending
argument that determines whether it skips over extending characters.
Fix the return type of iterLines
.
TextIterator
s are now iterable.
findColumn
now takes an optional strict
argument that makes it report -1 for columns outside of the string.
Fix an issue where a partial text cursor would sometimes not appropriately report it was done.
Text.children
is now public, and can be used to iterate over the Text
objects in a tree.
Text
objects now expose an iterLines
method to create an iterator over their lines.
countColumn
now takes different arguments.
findColumn
now takes only three arguments. (The old argument list will be supported until the next breaking version.)
Update dependencies to 0.18.
The package now also exports a CommonJS module.
Fix a bug in Text.replace
where deleting the entire document would produce an invalid instance.
First numbered release.