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

      • candidate: unknown

      Returns candidate is TextDocumentShowOptions

      true if candidate is an instance of options that includes a selection. This function should be used to determine whether TextDocumentOptions passed into commands by plugins need to be translated to TextDocumentShowOptions in the style of the RPC model. Selection is the only field that requires translation.