Theia API Documentation v1.69.0
    Preparing search index...

    Interface CustomDocumentEditEvent<T>

    Event triggered by extensions to signal that an edit has occurred on an CustomDocument.

    interface CustomDocumentEditEvent<T extends CustomDocument = CustomDocument> {
        document: T;
        label?: string;
        redo(): void | Thenable<void>;
        undo(): void | Thenable<void>;
    }

    Type Parameters

    Index

    Properties

    Methods

    Properties

    document: T

    The document that the edit is for.

    label?: string

    Display name describing the edit.

    This will be shown to users in the UI for undo/redo operations.

    Methods