EdGetSelΒΆ

EdGetSel returns the start and end position of the selection.

rvStartEnd = EdGetSel(hEdit)

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.

Parameters

hEdit

Identifies the editor.

id-1863721