[Quick Replace] tab


In this tab, search is done with the designated characters and then they are replaced to the characters to be replaced.

Figure A.11

Find and Replace Dialog Box: [Quick Replace] Tab

Remark

This tab is enabled only when the Find and Replace dialog box is called from the Editor panel in the Normal display mode.

 

The following items are explained here.

[How to open]

-

From the [Edit] menu, select [Find...].

-

From the [Edit] menu, select [Replace...].

[Description of each area]

(1)

[Search text] area

Designate characters to find.

You can directly enter the characters into the text box (maximum characters: 1024) or select from the input history in the drop-down list (up to 8 history entries).

By default, a word (including a variable, function, etc.) at the caret position is shown. Note, however, that if this dialog box is opened from the panel with the character being selected, the selected characters are shown by default.

 

You can select the following wildcard by using the button. This is available when "Wild-card" is selected in [Search criteria].

-

# Any single digit

-

* Zero or more of any character

-

? Any single character

-

[!] Any one character not in the set

-

[] Any one character in the set

 

You can select the following regular expressions by using the button. This is available when "Regular Expression" is selected in [Search criteria].

-

$ End of line

-

( ) Group capture

-

* Zero or more

-

+ One or more

-

. Any single character

-

[] Any one character not in the set

-

[^] Any one character not in the set

-

\ Escape special character

-

\b Word boundary

-

\n Line break

-

\s Whitespace

-

^ Beginning of line

-

| Or

Remark

For details on regular expressions, see "B. REGULAR EXPRESSIONS SYNTAX".

(2)

[Replace with] area

Designate characters to be replaced.

You can directly enter the characters into the text box (maximum characters: 1024) or select from the input history in the drop-down list (maximum numbers of the history: 10).

(3)

[Search location] area

The following item will appear in the drop-down list.

Item

Operation

Current document (Panel Name)

Finds in the panel which was last active and can be found.

If the panel which was lastly active cannot be found or the panel does not exist, this item will be disabled.

Remark

Up to 10 history entries are recorded in the drop-down list.

(4)

[Option] area

This area is shown when the [Option] button is clicked (not shown by default).

The following options can be designated as search criteria.

(a)

[Search criteria]

Select one of the following items from the drop-down list.

Item

Operation

Normal

Finds the characters designated in [Search text] area.

Wild-card

Finds using the wildcard designated in [Search text] area.

Regular Expressions

Finds using the regular expressions designated in [Search text] area.

(b)

[File type]

This item is disabled.

(c)

[Match case]

 

Finds the designated characters in case-sensitive.

 

Finds the designated characters in not case-sensitive (default).

(d)

[Match whole word]

 

Finds with a designated exact word.

 

Finds with at least one of the words (default).

(e)

[Open file before replacing]

This item is disabled.

[Function buttons]

Button

Function

Option

Switches between display/hide the [Option] area in this tab.

Find Previous

Finds from the current caret position to the top of the file with the designated criteria. Selects the characters that are found and moves the caretNote.

Find Next

Finds from the current caret position to the end of the file with the designated criteria. Selects the characters that are found and moves the caretNote.

Replace and Next

(Replace and Previous)

Replaces the selected characters to the characters to be replaced then searches the next (previous) candidate and selects themNote.

Cancel

Ignores the setting and closes this dialog box.

Help

Displays the help of this dialog box.

Note

If the designated characters cannot be searched, "Search text was not found." is displayed on the status bar of the Main window.