Back to API Reference
Struct

TextUnitEnumerator

sealed

Walks the units of a range, yielding each one's codepoint span. Clipped to the range: the first and last unit carry only the part the range covers.

public TextRange Current{ get }

Codepoint span of the unit the walk stands on.

public bool MoveNext()

Advances to the next unit; false once the range is spent.