.. highlightlang:: us .. index:: EdGetSel .. _edgetsel: EdGetSel ======== .. us.tag EdGetSel ENGLISH EdGet new412 :ref:`EdGetSel` returns the start and end position of the selection. .. function:: rvStartEnd = EdGetSel(hEdit) .. us.return **Return Value** *rvStarEnd* is a vector with two elements, start- and end position. If no text is selected the start is equal to the end position is equal to the cursor position. .. us.params **Parameters** .. uparam:: hEdit Identifies the editor. .. seealso:: :ref:`overview-editors`, :ref:`EdCreate`, :ref:`EdSetSel` :sub:`id-1863721`