Expand all

CodeMirrorSearch

Custom search panel for CodeMirror using CSS-only Codex components.

Extends

Constructor

new CodeMirrorSearch() #

Properties

extension :Extension #

Get the panel and any associated keymaps as an Extension. For use only during CodeMirror initialization.

Type:

Overrides:
Source:
Get the panel and any associated keymaps as an Extension.

panel :Panel #

Get the Panel object.

Type:

Overrides:
Source:
Get the Panel object.

searchInputWrapper :HTMLDivElement #

searchQuery :SearchQuery #

Methods

getButton() #

getTextInput() #

getToggleButton() #

openPanel(view) → {boolean} #

Open the search panel.

Parameters:

Name Type Description
view EditorView
Source:

Returns:

Type
boolean
Open the search panel.