
Hitachi Embedded Workshop User Manual
71
4.5
Searching and Navigating through Files
The Hitachi Embedded Workshop editor provides find, replace and file navigation functionality. The following
three sections detail how to use these features.
4.5.1
Finding Text
To search for text in the current file:
1. Ensure that the window, whose contents you want to search, is the active window.
2. Position the insertion cursor at the point from which you want to start your search.
3. Select [Edit->Find...], press CTRL+F, select [Find...] from the editor window’s local menu or click the
find toolbar button (
). The “Find” dialog box will be displayed (figure 4.2).
Figure 4.2: Find Dialog
4. Enter the text that you want to search for into the “Find what” field, or select a previous search string
from the drop-down list box. If you select text before invoking the find operation, the selected text will be
automatically placed into the “Find what” field.
5. If you would like to search for character string as a whole word then check the “Match whole word only”
check box. When this option is not selected, the search will be for any string that is matched by the search
string.
6. If you would like your search to be case sensitive (i.e. to distinguish between upper and lower case
letters) then check the “Match case” check box.
7.
If your search string uses regular expressions then check the “Regular expressions” check box. Refer to
Appendix B, “Regular Expressions” for further information.
8.
The “Direction” radio buttons allow you to select the direction of the search. Selecting “Down” means
that the search will be performed from the insertion cursor towards the bottom of the file. Selecting “Up”
means that the search will be performed from the insertion cursor towards the top of the file.
9.
Click the “Find Next” button to begin the search. Click “Cancel” to stop the find action.
The Hitachi Embedded Workshop editor also allows you to search for a string across many files.