.ExtendSelectionLine

Syntax

ExtendSelectionLine Direction

Description

Selects all text between the selection start position (or row 1, column 1, if there is no selection start position) and either the beginning or the end of the line. To set the selection start position, use the SetSelectionStartPos command or click in the Terminal window. For example, this pair of commands selects all the text on the 5th row, starting with column 10 and continuing to the end of the row:

SetSelectionStartPos 5,10
ExtendSelectionLine rcForward

Command Parameters

Direction Argument type: Enumeration
 

Indicates whether text should be selected from the selection start position to the beginning or the end of the line. The values are as follows:

Backward
Extends the selection to the beginning of the line. The character under the cursor is not included in the selection.

Forward
Extends the selection to the end of the line. The character under the cursor is included in the selection.