Cm5Editor.extendSelection method
Cm5Editor › extendSelection
Unofficial
Moves the head of the selection while leaving the anchor in place.Signature:
extendSelection(from: Position, to?: Position | undefined, options?: Cm5SelectionOptions | undefined): voidParameters:
| Parameter | Type | Description |
|---|---|---|
| from | Position | The position to extend from. |
| to? | Position | undefined | Optional end of region to select. |
| options? | Cm5SelectionOptions | undefined | Optional selection options. |
Returns: void