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