Search & Replace In Files
In addition to the normal search and replace features for the current editor window, .Edit can search AND replace in all open files or files in a specific folder.
Search by Filter
The default find window looks like the one shown below. Simply enter the text you would like to search for, then choose a folder. You may enter a file filter as well, for example *.asp. When "Find All" is pressed on the window below, it will search all ASP files in C:\inetpub\ashleybrown.co.uk\Publish\ for "<font".
When a multi-file search is performed, the results are displayed at the bottom of the screen in the results window. Simply double click an entry to open the file and highlight the found text. The search above yielded the following results window:
Note: Any files open in the editor have their current text searched, rather than the copy on disk (even if they haven't been saved).
Search Open Files
The "In Open Files" tab performs a multi-file search in all open edit windows. Searching works exactly the same way as a search-by-filter.
Replacing Text
If the "Replace Text" check box is checked, the replace options are displayed. At present, the only option is to "Prompt on Replace". This will ask you if you want to replace the selected occurence of the search text. The results window will display the locations where it replaced text.
Warning: You are strongly advised to leave the "Prompt on Replace" option on when replacing text in multiple files. The operation can NOT be undone. If you decide that search and replace is having the desired effect, you may click "Yes To All" on the replace prompt dialog and it won't ask again. This is especially important when using regular expressions.
