TextRange
TextRange =
object
Where a piece of text sits in a rendering, in Unicode scalar values (chars), start
inclusive and end exclusive. Code points, not bytes or UTF-16 units, so Python slices a
rendering with them as they are; [Rendered::slice] does it in Rust.
Properties
Section titled “Properties”end:
number
One past the last character.
start:
number
The first character.