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 switches to the file it was found in and selects the matched text. If the search term cannot be found, nothing happens. Only the Find Next button will briefly flash its icon to indicate it failed.

In EditPad Pro, the Find 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 starts 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, Find in Next File continues 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 skips over the next 9 search matches and highlights the 10th. The result is the same as if you had clicked the Find Next button 10 times. If there are no further 10 search matches, the result is slightly different. Find Next 10th then does not do anything other than flashing the Find Next button to indicate failure. Similarly, the Find 100th Next item skips over the next 99 search matches and selects match #100.

The Find Nth Next item asks you for the number of the match you want to find. If you enter 42, for example, EditPad skips the next 41 search matches and highlights the 42nd.

See Also

Search menu
Search|Prepare to Search
Search|Find Previous