Skip to content

Cm5Editor.extendSelections method

Cm5Editor › extendSelections

Unofficial

Like extendSelection, but acts on all selections at once.

Signature:

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

Parameters:

ParameterTypeDescription
headsPosition[]The new head positions.
options?Cm5SelectionOptions | undefinedOptional selection options.

Returns: void