get-position in text%
Returns the current selection range in positions.
See also
get-start-position and
get-end-position.
( -> void
send a-text get-position start end)
start : boxed exact non-negative integer or #f
end = : boxed exact non-negative integer or #f#f
The start box is filled with the starting position of the selection, unless
start is #f.
The end box is filled with the ending position of the selection, unless
end is #f.