TextBuffer.cursorPosition

Get cursorPosition property.

class TextBuffer
@property
int
cursorPosition
()

Return Value

Type: int

The position of the insert mark.

This is an offset from the beginning of the buffer. It is useful for getting notified when the cursor moves.