Current completion context.
Editor to search in.
Function used to filter tokens you want to search in. Is called with the type of the token and its starting position. If the filter returns true, the token will be searched.
Pattern used to search for words.
Optional
init: Iterable<string>Words to initialize the result with.
Optional
tokensOnly: booleanIf true
only the text of tokens whoose content
is a string will
be searched. If not any string inside the TokenStream can be searched.
An array with found identifers/words.
Generated using TypeDoc
Utility that searches the editor's TokenStream for strings.