If true, the search proceeds from the starting position toward the end of the document. If false, it proceeds from the starting position toward the start of the document. The default is true.
The caret position to begin searching from. The default is the current caret position.
If true, as each match is found it will also be selected in the editor. The default is true.
If true, empty fields in objects in the pattern will match any content in the corresponding fields in the document. For example, an empty parentheses object would match any parenetheses in the document without regard to what is inside. If false, empty fields in the pattern will only match when the corresponding field is empty in the document. The default is true.
If true, the search will continue until it wraps around from one end of the document to the other and returns to the start position. If false, the search ends when the end of the document is reached. The default is true.
This API is still under development and is subject to change. Copyright © Math I Can Do Solutions Incorporated and/or its licensors.
Options that may be passed to a SearchAgent when starting a search to modify its behaviour.
Example: Find and select the previous occurrence of the selection