GetPreviousTextElementIndex(ReadOnlySpan, Int32) Method

Definition

Assembly XenoAtom.Terminal.dll

Gets the index of the previous text element boundary (extended grapheme cluster) (UTF-16).

public static int GetPreviousTextElementIndex(ReadOnlySpan<char> text, int index)

Parameters

index
Int32

Returns