Theia API Documentation v1.65.0
    Preparing search index...
    onDidOpenTextDocument: Event<TextDocument>

    An event that is emitted when a text document is opened.

    To add an event listener when a visible text document is opened, use the TextEditor events in the window namespace. Note that: