Searches for all occurrances options.needle. If found, this method returns an array of [[Range Ranges]] where the text first occurs. If options.backwards is true, the search goes backwards in the session.
The session to search with
Searches for options.needle in input, and, if found, replaces it with replacement.
The text to search in
The replacing text
options.regExp is true, this function returns input with the replacement already made. Otherwise, this function just returns replacement.options.needle was not found, this function returns null.Generated using TypeDoc
A class designed to handle all sorts of text searches within a [[Document
Document]].