Skip to content

Doc.extendSelections method

Doc › 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