Skip to content

Cm5Editor.extendSelections method

Cm5Editor › extendSelections

Unofficial

Like extendSelection, but acts on all selections at once.

Signature:

extendSelections(heads: Position[], options?: Cm5SelectionOptions): void

Parameters:

ParameterTypeDescription
headsPosition[]The new head positions.
options?Cm5SelectionOptionsOptional selection options.

Returns: void