Text.getCaretOffset

Gets the offset position of the caret (cursor).

class Text
int
getCaretOffset
()

Return Value

Type: int

the offset position of the caret (cursor).

Meta