prevRunePosition method
Returns the position of the previous grapheme cluster boundary.
Implementation
int prevRunePosition(int pos) {
if (pos == 0) return -1;
return CharacterBoundary(this).getLeadingTextBoundaryAt(
pos - 1,
) ??
0;
}