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:

ParameterTypeDescription
from?Position | undefinedNew start position.
to?Position | undefinedNew end position.
text?string[] | undefinedNew replacement text.

Returns: void