Function highlightSelectionMatches

  • Extension that highlights selection matches in an editor.

    Parameters

    • Optional caseSensitive: boolean

      Whether or not matches must have the same case. Defaults to false.

    • minLength: number = 1

      Minimum length needed to perform a search. Defaults to 1.

    • maxLength: number = 200

      Maximum length at which to perform a search. Defaults to 200.

      Lower values of minLength and higher values of maxLength can impact performance.

      The CSS-selector .selection-matches span can be used to style the matches.

    Returns SelectionMatchHighlighter

Generated using TypeDoc