RichEditSelection.selectLine Method
In This Article
Selects the line in which the cursor is located and allows you to extend the selection.
#Declaration
TypeScript
selectLine(
extendSelection?: boolean
): void
#Parameters
Name | Type | Description |
---|---|---|
extend |
boolean |
|
#Remarks
When the end of the current line is already selected, the method selects the next line.
// Selects five lines
for(let i=0; i<5; i++)
richEdit.selection.selectLine(true);
Refer to the following section for more information: Client Selection.
See Also