Skip to content

Doc.extendSelectionsBy method

Doc › extendSelectionsBy

Unofficial

Applies a function to all selections and calls extendSelections on the result.

Signature:

extendSelectionsBy(f: (range: Cm5Range) => Position): void

Parameters:

Parameter Type Description
f (range: Cm5Range) => Position The function to apply to each range.

Returns: void