UFT Pro (LeanFT) .NET SDK Reference, Version 14.03
Select Method (IEditor)
The 0-based position of the first character of the text to be selected.
The 0-based position of the character that ends the selection.
Selects the specified section of text in the text area and positions the cursor at the end of the selection.
Remarks
The text is selected from the character at the start position and up to, but not including, the character at the end position.

The cursor is placed at the end position.

Syntax
void Select( 
   uint startPos,
   uint endPos
)

Parameters

startPos
The 0-based position of the first character of the text to be selected.
endPos
The 0-based position of the character that ends the selection.