Text-Selection Find. freescale IDE 5.7
Reklam
Reklam
Finding and Replacing Text
Text-Selection Find
Table 12.8 Search Results Window Items ( continued)
Icon Item
Previous Result button
Explanation
Click to select the previous search result.
Next Result button
Click to select the next search result.
Results pane
Source Code pane disclosure triangle
Pane resize bar
Lists individual search results.
Click to show or hide the Source
Code pane.
Source Code pane
Drag to resize the Results and
Source Code panes.
Shows the source code corresponding to the selected item in the Results pane. This pane operates the same as an editor window without pane-splitter controls.
Text-Selection Find
After you use the Find, Find and Replace, or Find in Files windows to perform a successful search, you can use menu commands to apply the same search criteria to additional searches. This way, you do not have to open the windows again to use the same search criteria. You select text in the active editor window to define the search string.
Using the Find Next Command
When searching for text, you can use the Find Next command to have the IDE find the next match:
130 IDE 5.7 User’s Guide
Finding and Replacing Text
Text-Selection Find
1. Start a search with the Find, Find and Replace, or Find in Files windows.
2. After the IDE finds a match, click Search > Find Next to find a subsequent match.
NOTE
Find Next always searches forward and ignores the Search up checkbox.
Using the Find Previous Command
When searching for text, you can use the Find Previous command to have the IDE find the previous match. You must enable the Find Previous command in the Customize IDE
Commands window.
1. Click Edit > Commands & Key Bindings.
The Customize IDE Commands window opens.
2. Click the Commands tab in the Customize IDE Commands window.
3. Expand the Search item in the Commands pane tree structure.
4. Select the Find Previous item in the expanded list.
Scroll as needed in order to see the Find Previous item. After you select the Find
Previous item, its settings appear in Details pane.
5. Check the Appears in Menus checkbox.
The Find Previous command will appear in the Search menu in the main IDE menu bar.
6. Click Save to confirm your changes.
7. Close the Customize IDE Commands window.
You can now select the Find Previous command in the Search menu. You can also use the key binding associated with the command.
NOTE
(Macintosh) Hold down the Shift key in order to click
Search > Find Previous.
Changing the Find String
Use the Enter Find String command to change the current find string.
IDE 5.7 User’s Guide 131
İndir
Reklam