Skip to content

Cm5Editor.extendSelectionsBy method

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