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