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


General Search Options

Table 6.1 describes several search options that you can use to refine single-file and multi-file searches. For example, you can customize case sensitivity, regular expressions, and search direction. Your settings determine the number of matches the IDE locates within your files.

Search Options to Refine Single-file and Multi-file Searches:

Option
Description
Find field  

Enter in this field the text to locate. You can also use the pop-up menu to enter search text from recent searches.

Replace field  

Enter in this field the text to substitute for the text in the Find field. You can also use the pop-up menu to enter substitution text from recent replacement operations.

Match whole word  

Enable this checkbox to match only whole words with the search text you enter in the Find field. Disable the checkbox to match the search text with text that might be embedded within larger words.

To match as a whole word, the found text must be delimited by white space or other non-alphanumeric text.

Stop at end of file  

Enable this checkbox to stop each search at the end of the active file. The IDE begins each search at the text-insertion point. With the checkbox enabled, the IDE beeps after reaching the end of the file without finding the desired text. With the checkbox disabled, the IDE wraps to the opposite end of the file and continues the search.

This checkbox does not affect the Find All operation, which locates all occurrences of matching text in the active file, regardless of search direction.

Case sensitive  

Enable this checkbox to consider upper- and lower-case letters when matching the search text in the Find field with the text in the active files. Disable the checkbox to disregard case.

Regular expression  

Enable this checkbox to treat the search text in the Find field as a regular expression. Regular expressions use the same type of syntax as UNIX grep commands. For more information, see "Using Regular Expressions (grep)".

Search selection only  

Enable this checkbox to search only selected text in the active editor window. Disable the checkbox to search all text.

Direction  

Use this section to choose the direction that you wish to perform the search. Click the Up radio button to search upward from the text-insertion point in the active editor window toward the beginning of the file. Click the Down radio button to search downward from the text-insertion point toward the end of the file.

The Stop at end of file checkbox determines what happens after the IDE reaches the beginning or end of the file.


[ 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