Class NotebookSearchProvider

Notebook document search provider

Hierarchy (View Summary)

Constructors

Properties

_filtersChanged: Signal<NotebookSearchProvider, void>
_stateChanged: Signal<NotebookSearchProvider, void>
delayedActiveCellChangeHandlerReady: Promise<void>
translator: ITranslator = nullTranslator

Application translator

The widget to search in

Accessors

  • get filtersChanged(): ISignal<this, void>
  • Signal indicating that filter definition changed.

    Returns ISignal<this, void>

  • get isDisposed(): boolean
  • Whether the search provider is disposed or not.

    Returns boolean

  • get isReadOnly(): boolean
  • Set to true if the widget under search is read-only, false if it is editable. Will be used to determine whether to show the replace option.

    Returns boolean

  • get stateChanged(): ISignal<this, void>
  • Signal indicating that something in the search has changed, so the UI should update

    Returns ISignal<this, void>

Methods

  • Dispose of the resources held by the search provider.

    If the object's dispose method is called more than once, all calls made after the first will be a no-op.

    It is undefined behavior to use any functionality of the object after it has been disposed unless otherwise explicitly noted.

    Returns void

  • Utility for copying the letter case from old to new text.

    Parameters

    • oldText: string
    • newText: string

    Returns string