Returns the bounds of the selection in a text-input-pane.
text-input-pane-selection returns as multiple values the bounding indexes of the selection in
. That is,
is the inclusive index of the first selected character, and
is one greater than the index of the last selected character.
CAPI User Guide and Reference Manual (Unix version) - 3 Aug 2017