[ First ]  [ Previous ]  [ Next ]  [ Last ]  [ Manuals ]


Finding Text

To find text in a single file, you open the Find dialog box, enter search text, configure search criteria, and then perform the search.

To find text using the Find dialog box, follow these steps:

1. Choose Search > Find.

2. Enter in the Find field the text to find.

For example, to find occurrences of the text main, enter main in the Find field.

3. Configure the search criteria.

See "General Search Options" and "Searching with Special Characters" for more information.

4. Find individual matching occurrences of text, or find all matching occurrences, in the active editor window.

For more information about finding individual occurrences, see "Selective Find." For more information about finding all occurrences, see "Find All".

To learn how to replace matching text that the IDE finds, see "Finding and Replacing Text."


Selective Find

To find individual occurrences of matching text, you must first complete the steps described in "Finding Text". After completing those steps, click the Find button in the Find dialog box, or choose Search > Find.

Using the search text in the Find field and the search criteria defined in the Find dialog box, the IDE searches the active editor window for matching text. If successful, the IDE closes the Find dialog box, then displays and selects the matching text in the editor window. If unsuccessful, the IDE beeps.

You can find the next or previous occurrence of the search text in the active editor file. Use one of the following techniques:


NOTE

(Windows) The IDE disables the Find Previous menu command by default. See "Customizing Commands" to learn how to enable the menu command.

You can repeatedly choose the Find Next or Find Previous menu commands to continue searching for other matches. The IDE beeps after failing to locate additional occurrences.


Find All

To find all occurrences of matching text, you must first complete the steps described in "Finding Text". After completing those steps, click the Find All button in the Find dialog box.

A Search Results window appears and shows the search status. You can view individual matches and stop a search in progress. For more information, see "Search Results".

The Search Results window is similar to the Message window. For more information about the Message window, see "Guided Tour of the Message Window".


[ First ]  [ Previous ]  [ Next ]  [ Last ]  [ Manuals ]

Visit the Metrowerks website at: http://www.metrowerks.com
For assistance contact Metrowerks Technical Support at: cw_support@metrowerks.com
Copyright © 2000, Metrowerks Corp. All rights reserved.

Last updated: August 17, 2000