This is an offset from the beginning of the buffer. It is useful for getting notified when the cursor moves.
TextBuffer.cursorPosition
int cursorPosition() @propertyGet cursorPosition property.
Returns
The position of the insert mark.
int cursorPosition() @propertyGet cursorPosition property.
This is an offset from the beginning of the buffer. It is useful for getting notified when the cursor moves.