User`s guide
MPLAB IDE Dialogs
© 2006 Microchip Technology Inc. DS51519B-page 169
Examples
13.13 FIND AND REPLACE DIALOGS
Use the Find dialog (Edit>Find) to find an occurrence of a text string in a file (editor)
window. Use the Replace (Edit>Replace
) dialog to substitute one text string for another
in a file (editor) window.
13.14 GO TO DIALOG
Select “Go To” from a menu to open this dialog. “Go to” options may vary depending
on the type of window with which it is used.
POSIX RE Description
[[:upper:]]TEMP [A-Z]TEMP Find and note all occurrences of strings beginning with
letters A through Z and ending in TEMP, such as ATEMP,
MTEMP or ZTEMP.
register[^[:digit:]] register[^0-9] Find and note all occurrences of the string register
that does not end in numbers 0 through 9, such as
registerA.
\( \( Find and note all occurrences of the left parenthesis.
Item Dialog Description
Find what: Find,
Replace
Enter a string of text you want to find, or select text
from the drop-down list. You can also select text in
the file window or place the cursor over a word you
want to search for, before you open the dialog.
Replace with: Replace Enter a string of text with which you want to replace
the find text, or select text from the drop-down list.
Match whole word only Find,
Replace
Text in the file window must match the “Find what”
text as a whole word, not part of a larger word.
Match case Find,
Replace
Text in the file window must match the case of the
“Find what” text. E.g., “prog1” would not be a match
for “Prog1”.
Direction Find,
Replace
Up searches backward from the cursor position;
Down searches forward.
Find Next Find,
Replace
Highlight the next occurrence of the “Find what” text.
Replace Replace Replace the highlighted text with the “Replace with”
text.
Replace All Replace Replace all occurrences of “Find what” text with
“Replace with” text.
Go to what: Selection
Line Enter a Line Number – Enter a line number as the “go to” location. To view
line numbers in the editor window, set up editor preferences
(Section 15.2.1 “Editor Options Dialog”).
Address Enter a Hex Address – Enter a hexadecimal address as the “go to”
location. The allowable memory address range is specified below the text
box.
Label Select a Label – Select a label from the drop-down list as the “go to”
location. The list contains all labels used in the current program.
Function Select a Function – Select a C-language function from the drop-down list
as the “go to” location. The list contains all functions used in the current
program.