Gtk.Editable.prototype.get_position
function get_position():Number { // Gjs wrapper for gtk_editable_get_position() }
Retrieves the current position of the cursor relative to the start of the content of the editable.
Note that this position is in characters, not in bytes.
- Returns
the cursor position