iterator

open fun iterator(fromIndex: Int): TextElementIterator(source)

Returns an iterator starting at the specified index.

Return

an iterator with position tracking

Parameters

fromIndex

the starting position

Throws

if fromIndex is out of range