Skip to content

Latest commit

 

History

History
42 lines (30 loc) · 1.19 KB

File metadata and controls

42 lines (30 loc) · 1.19 KB

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