Doc.setSelections method
Doc › setSelections
Unofficial
Sets a new set of selections.Signature:
setSelections(ranges: Cm5SelectionRange[], primary?: number | undefined, options?: Cm5SelectionOptions | undefined): voidParameters:
| Parameter | Type | Description |
|---|---|---|
| ranges | Cm5SelectionRange[] | The selection ranges. |
| primary? | number | undefined | The index of the primary selection. |
| options? | Cm5SelectionOptions | undefined | Optional selection options. |
Returns: void