Skip to content

Cm5EditorChangeCancellable.update method

Cm5EditorChangeCancellable › update

Unofficial

Modifies the change. All arguments are optional.

Signature:

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

Parameters:

Parameter Type Description
from? Position | undefined New start position.
to? Position | undefined New end position.
text? string[] | undefined New replacement text.

Returns: void