Select Method (IEditor)
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.

C# 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.