Returns the current selection range. See also get-start-position and get-end-position.
The start box is filled with the starting position of the selection, unless start is null. The end box is filled with the ending position of the selection, unless end is null.