Event triggered by extensions to signal to the editor that an edit has occurred on an {@linkcode CustomDocument }.
Event triggered by extensions to signal to the editor that an edit has occurred on an {@linkcode CustomDocument }.
(document custom-document-edit-event)
The document that the edit is for.
The document that the edit is for.
(label custom-document-edit-event)
Display name describing the edit.
This will be shown to users in the UI for undo/redo operations.
Display name describing the edit. This will be shown to users in the UI for undo/redo operations.
(redo custom-document-edit-event)
Redo the edit operation.
This is invoked by the editor when the user redoes this edit. To implement redo
, your
extension should restore the document and editor to the state they were in just after this
edit was added to the editor's internal edit stack by onDidChangeCustomDocument
.
Returns: void | Thenable<void>
Redo the edit operation. This is invoked by the editor when the user redoes this edit. To implement `redo`, your extension should restore the document and editor to the state they were in just after this edit was added to the editor's internal edit stack by `onDidChangeCustomDocument`. **Returns:** `void | Thenable<void>`
(undo custom-document-edit-event)
Undo the edit operation.
This is invoked by the editor when the user undoes this edit. To implement undo
, your
extension should restore the document and editor to the state they were in just before this
edit was added to the editor's internal edit stack by onDidChangeCustomDocument
.
Returns: void | Thenable<void>
Undo the edit operation. This is invoked by the editor when the user undoes this edit. To implement `undo`, your extension should restore the document and editor to the state they were in just before this edit was added to the editor's internal edit stack by `onDidChangeCustomDocument`. **Returns:** `void | Thenable<void>`
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close