beautypg.com

Figure 45. replace dialog box, Replace, Go to line – Zilog Z8F0130 User Manual

Page 85

background image

UM013037-1212

Edit Menu

Zilog Developer Studio II – Z8 Encore!

User Manual

61

Replace

To find and replace text in an active file, use the following procedure:

1. Select

Replace

from the

Edit

menu. The

Replace

dialog box is displayed.

2. Enter the text to search for in the

Find What

field or select a recent entry from the

Find What

drop-down list box. (By default, the currently selected text in a source file

or the text in which your cursor is located in a source file is displayed in the

Find

What

field.)

3. Enter the replacement text in the

Replace With

field or select a recent entry from the

Replace With

drop-down list box.

4. Select the

Match Whole Word Only

checkbox if you want to ignore the search text

when it occurs as part of longer words.

5. Select the

Match Case

checkbox if you want the search to be case-sensitive.

6. Select the

Regular Expression

checkbox if you want to use regular expressions.

7. Select whether you want the text to be replaced in text currently selected or in the

whole file.

8. Click

Find Next

to jump to the next occurrence of the search text and then click

Replace

to replace the highlighted text or click

Replace All

to automatically replace

all instances of the search text.

Go to Line

To position the cursor at a specific line in the active file, select

Go to Line

from the

Edit

menu to display the

Go to Line Number

dialog box.

Figure 45. Replace Dialog Box