User`s manual

250 digi.com Graphical User Interface
Find <Ctrl F>
Finds first occurrence of specified text. Text may be specified by selecting it prior to opening the Find
dialog box if the option “Find text at cursor” is checked in the Editor dialog under Environment
Options. Only one word may be selected; if more than one word is selected, the last word selected
appears as the entry for the search text. More than one word of text may be specified by typing it in or
selecting it from the available history of search text.
There are several ways to narrow or broaden the search criteria using the
Find dialog box. For example,
if
Case sensitive is unchecked, then “Switch” and “SWITCH” would match the search text “switch.”
If
Whole words only is checked, then the search text “switch” would not match “switches.” Selecting
Entire scope will cause the whole document to be searched. If Selected text is chosen and the Persis-
tent blocks option was checked in the Editor tab in Environment Options, the search will take place
only in the selected text.
Replace
<F6>
Finds and replaces the specified text. Text may be specified by selecting it prior to opening the Replace
Tex t
dialog box. Only one word may be selected; if more than one word is selected, the last word
selected appears as the entry for the search text. More than one word of text may be specified by typing
it in or selecting it from the available history of search text. The replacement text is typed or selected
from the available history of replacement text.
As with the
Find dialog box, there are several ways to narrow or broaden the search criteria. An impor-
tant option is
Prompt on replace. If this is unchecked, Dynamic C will not prompt before making the
replacement, which could be dangerous in combination with the choice to
Replace All.
Find Next
<F3>
Once search text has been specified with the Find or Replace commands, the Find Next command will
find the next occurrence of the same text, searching forward or in reverse, case sensitive or not, as
specified with the previous
Find or Replace command. If the previous command was Replace, the
operation will be a replace.
Reverse Find Next
<Alt+F3>
Behaves the same as Find Next except in the opposite direction. If Find Next is searching forward in
the file,
Reverse Find Next will search backwards, and vice versa.