Search|Find Next

After using Prepare to Search or pressing Ctrl+F and entering a search term, click the Next button on the search toolbar or select the Find Next item in the Search menu to find the next search match. If the edit box for entering the search term still has keyboard focus, you can also find the next search match by pressing Ctrl+F again or by pressing Enter.

Find Next starts searching from the current position of the text cursor in the current file. If the "selection only" option is on, Find Next searches until the end of the search range. If "all files" is on, Find Next searches until the end of the file and then continues at the start of the next file until a search match is found. If "all projects" is on, and Find Next reaches the last file in the current project, Find Next will continue with the next project.

If the search term can be found, EditPad will switch to the file it was found in, and select the matched text. If the search term cannot be found, nothing will happen, except that the Next button will briefly flash its icon to indicate it failed.

In EditPad Pro, the Next button on the search toolbar has a drop-down menu. The first item in the drop-down menu is Find in Next File. When you select this item, EditPad will start searching from the start of the next file. You can use Find in Next File even when the  "all files" option is off. If the search term cannot be found in the next file, and one or more of the "all files", "all projects" and "loop automatically" options are on, EditPad will continue the search just like the Find Next command itself.

The drop-down menu also has three items that you can use to find a specific search match, counting search matches from the start. The Find 10th Next item will skip over the next 9 search matches and highlight the 10th. The result is the same as if you had clicked the Next button 10 times. If there are no further 10 search matches, the result is slightly different. Find Next 10th will then not do anything, except flash the Next button to indicate failure. Similarly, the Find 100th Next item will skip the next 99 search matches and select match #100.

The Find Nth Next item will ask you for the number of the match you want to find. If you enter 42, EditPad will skip the next 41 search matches, and highlight the 42nd.

See also

Search Menu
Search|Prepare to Search
Search|Find Previous