textUtf8PointForOffset function
Converts a grapheme offset into a zero-based UTF-8 parser point.
Implementation
TextUtf8Point textUtf8PointForOffset(TextDocument document, int offset) =>
TextUtf8CoordinateIndex(document).pointForOffset(offset);
Converts a grapheme offset into a zero-based UTF-8 parser point.
TextUtf8Point textUtf8PointForOffset(TextDocument document, int offset) =>
TextUtf8CoordinateIndex(document).pointForOffset(offset);