EdSetSel selects a range of characters in the editor.
Return Value
If the function succeeds, the return value is TRUE (1); otherwise it is FALSE (0).
Parameters
Identifies the editor.
nStartChar specifies the starting position. If nStartChar is 0 and nEndChar is -1, all the text in the editor will be selected. If nStartChar is -1, the current selection will be removed.
nEndChar specifies the end position. If nEndChar is -1, the text from nStartChar to the end of the editor will be selected.
See also
id-1814569