CustomDocumentEditEvent

Event triggered by extensions to signal to the editor that an edit has occurred on an {@linkcode CustomDocument}.

See also

{@linkcode CustomEditorProvider.onDidChangeCustomDocument}.

Online Documentation

Properties

Link copied to clipboard
abstract val document: T

The document that the edit is for.

Link copied to clipboard
abstract val label: String?

Display name describing the edit.

Functions

Link copied to clipboard
abstract fun redo(): PromiseLike<Void?>?

Redo the edit operation.

Link copied to clipboard
abstract fun undo(): PromiseLike<Void?>?

Undo the edit operation.