This extremely powerful command locates all occurrences of a specified pattern. The Find Window is used to specify the pattern to search for, as well as a number of additional options.
Complexity: linear time (depends on the file's size and resulting number of non-contiguous matches).
The result of the Find All operation is a multiple selection, which describes all pattern occurrences. Selection Details window may be used to browse the results. In addition, a message window with a total number of occurrences found is displayed when searching finishes.
If the pattern has not been found in a file, a message is displayed.
You may specify a positive alignment number for a Find All command. The operation will only match a pattern occurrence if its offset is aligned to a given number. By default, alignment equals to a current editor window's grouping mode.
The Find All command fully supports regular expressions. To search using regular expressions, select either “ASCII string (char[])” or “UNICODE string (wchar_t[])” pattern type, enter the regular expression, make sure the Regular expression checkbox is checked and enter the sub-expression number you want to search for. Sub-expression 0 represents the expression itself (AKA full match).
Scripts are provided with the following methods to execute the find operations: