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

    Navigatable provides an access to an URI of an underlying instance of Resource.

    Hierarchy (View Summary)

    Implements

    Index
    _languageAutoDetected: boolean = true

    true because it is derived from an URI during the instantiation

    autoSizing: boolean
    contextKeyService: ContextKeyService
    detachModelOnHide: boolean = true

    Whether hiding the editor should detach its model and save its view state for restoration on show.

    documents: Set<MonacoEditorModel> = ...
    editor: IStandaloneCodeEditor
    maxHeight: number
    minHeight: number
    monacoModelService: MonacoTextModelService
    node: HTMLElement
    onCursorPositionChangedEmitter: Emitter<Position> = ...
    onDidChangeReadOnly: Event<boolean | MarkdownString> = ...
    onDidResize: Event<Dimension | null> = ...
    onDocumentContentChangedEmitter: Emitter<TextDocumentChangeEvent> = ...
    onEncodingChanged: Event<string> = ...
    onFocusChangedEmitter: Emitter<boolean> = ...
    onLanguageChanged: Event<string> = ...
    onLanguageChangedEmitter: Emitter<string> = ...
    onMouseDownEmitter: Emitter<EditorMouseEvent> = ...
    onResizeEmitter: Emitter<Dimension | null> = ...
    onScrollChangedEmitter: Emitter<void> = ...
    onSelectionChangedEmitter: Emitter<Selection> = ...
    onShouldDisplayDirtyDiffChanged: Event<boolean> | undefined = ...

    This event is optional iff shouldDisplayDirtyDiff always returns the same result for this editor instance.

    onShouldDisplayDirtyDiffChangedEmitter: Emitter<boolean> = ...
    parentEditor?: MonacoEditor
    savedViewState: IEditorViewState | null = null

    eslint-disable-next-line no-null/no-null

    toDispose: DisposableCollection = ...
    uri: URI
    • get baseEditor(): IEditor

      This property allows working with the underlying editor instance through the base editor interface, monaco.editor.IEditor.

      This property is intended to be overriden in subclasses as needed, e.g. it returns the underlying diff editor in MonacoDiffEditor.

      Returns IEditor

    • get baseModel(): IEditorModel

      This property allows working with the underlying editor model instance through the base editor model interface, monaco.editor.IEditorModel.

      This property is intended to be overriden in subclasses as needed, e.g. it returns the underlying diff editor model in MonacoDiffEditor.

      Returns IEditorModel

    • Parameters

      • hostNode: HTMLElement
      • dimension: IDimension | null

      Returns IDimension

    • Parameters

      • OptionalmaybeMarkdown: string | IMarkdownString | IMarkdownString[] | null

      Returns string | undefined

    • Parameters

      • OptionalhoverMessage: string | IMarkdownString | IMarkdownString[]

      Returns IMarkdownString | IMarkdownString[] | undefined

    • eslint-disable-next-line @typescript-eslint/no-explicit-any

      Parameters

      • source: string
      • handlerId: string
      • payload: any

      Returns void