QuickOpenHelper
Import :
const QuickOpenHelper = brackets.getModule("search/QuickOpenHelper")
match(query, returns)
Kind: global function
Param | Type | Description |
---|---|---|
query | string | what the user is searching for |
returns | boolean | true if this plug-in wants to provide results for this query |
itemFocus(selectedItem, query, explicit)
Scroll to the selected item in the current document (unless no query string entered yet, in which case the topmost list item is irrelevant)
Kind: global function
Param | Type | Description |
---|---|---|
selectedItem | SearchResult | |
query | string | |
explicit | boolean | False if this is only highlighted due to being at top of list after search() |
itemSelect(selectedItem, query)
Scroll to the selected item in the current document (unless no query string entered yet, in which case the topmost list item is irrelevant)
Kind: global function
Param | Type |
---|---|
selectedItem | SearchResult |
query | string |