Searches for the specified string.
nFound = document.selection.Find( strFind, nFlags );
nFound = document.selection.Find( strFind, nFlags )
strFind
Specifies a string to search for.
nFlags
Specifies a combination of the following values:
| eeFindNext | Searches downward from the cursor position. |
| eeFindPrevious | Searches upward from the cursor position. |
| eeFindReplaceCase | Matches cases. |
| eeFindReplaceEscSeq | Uses escape sequences. Cannot be combined with eeFindReplaceRegExp. |
| eeFindReplaceQuiet | Does not display a message on the status bar if no string is found. |
| eeFindReplaceOnlyWord | Matches only whole words. |
| eeFindAround | Moves to the start of the document when reaches the end of the document. |
| eeFindReplaceRegExp | Uses a regular expression for the searched string. Cannot be combined with eeFindReplaceEscSeq. |
| eeFindReplaceOpenDoc | Searches all open documents in the same frame window. |
Returns 1 if the searched string is found, or 0 if not found.
Supported on EmEditor Professional Version 4.00 or later.
Send feedback on this topic to Emurasoft