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:

Parameter Type Description
heads Position[] The new head positions.
options? Cm5SelectionOptions | undefined Optional selection options.

Returns: void