-
Home
-
API
-
XenoAtom.Terminal
-
TerminalTextUtility
-
Methods
-
GetPreviousTextElementIndex(ReadOnlySpan, Int32)
GetPreviousTextElementIndex(ReadOnlySpan, Int32) Method
Definition
Gets the index of the previous text element boundary (extended grapheme cluster) (UTF-16).
public static int GetPreviousTextElementIndex(ReadOnlySpan<char> text, int index)
Parameters
Returns