nextRunePosition method
Returns the position of the next grapheme cluster boundary.
Implementation
int nextRunePosition(int pos) {
if (pos >= length - 1) return length;
return CharacterBoundary(this).getTrailingTextBoundaryAt(
pos,
) ??
length;
}