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

    Implements

    Index

    Constructors

    Properties

    canUpdateOutline: boolean = true
    editorManager: EditorManager
    outlineViewService: OutlineViewService
    toDisposeOnEditor: DisposableCollection = ...
    tokenSource: CancellationTokenSource = ...

    Methods

    • Returns with a range enclosing this symbol not including leading/trailing whitespace but everything else like comments. This information is typically used to determine if the clients cursor is inside the symbol to reveal in the symbol in the UI. This allows to obtain the range including the associated comments.

      See: DocumentSymbol#range for more details.

      Parameters

      • documentSymbol: DocumentSymbol

      Returns Range

    • Returns true if candidate is strictly contained inside parent

      If the argument is a DocumentSymbol, then getFullRange will be used to retrieve the range of the underlying symbol.

      Parameters

      • candidate: Range | DocumentSymbol
      • parent: Range | DocumentSymbol
      • rangeBased: boolean

      Returns boolean