Skip to content

Cm5EditorChangeCancellable.update method

Cm5EditorChangeCancellable › update

Unofficial

Modifies the change. All arguments are optional.

Signature:

update(from?: Position, to?: Position, text?: string[]): void

Parameters:

ParameterTypeDescription
from?PositionNew start position.
to?PositionNew end position.
text?string[]New replacement text.

Returns: void