Skip to main content

SearchResultsView

Import :

const SearchResultsView = brackets.getModule("search/SearchResultsView")

Handles the search results panel.

Dispatches the following events: replaceBatch - when the Replace button is clicked. close - when the panel is closed. Kind: global class

new Handles the search results panel.

Dispatches the following events: replaceBatch - when the Replace button is clicked. close - when the panel is closed.(model, panelID, panelName, type)

ParamTypeDescription
modelSearchModelThe model that this view is showing.
panelIDstringThe CSS ID to use for the panel.
panelNamestringThe name to use for the panel, as passed to WorkspaceManager.createBottomPanel().
typestringtype to identify if it is reference search or string match serach