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

    Represents options to configure the behavior of showing a document in an editor.

    interface TextDocumentShowOptions {
        preserveFocus?: boolean;
        preview?: boolean;
        selection?: Range;
        viewColumn?: ViewColumn;
    }
    Index

    Properties

    preserveFocus?: boolean

    An optional flag that when true will stop the editor from taking focus.

    preview?: boolean

    An optional flag that controls if an editor-tab will be replaced with the next editor or if it will be kept.

    selection?: Range

    An optional selection to apply for the document in the editor.

    viewColumn?: ViewColumn

    Denotes a location of an editor in the window. Editors can be arranged in a grid and each column represents one editor location in that grid by counting the editors in order of their appearance.