Search And Replace Within The Active File; Goto Line - AMX NetLinx Studio Instruction Manual

Netlinx design v3.3 or higher
Table of Contents

Advertisement

Programming
2.
Enter a search string in the Find What field.
3.
Click one or more of the Options check boxes to set any additional search criteria as desired:
Find dialog Options
Match whole word only
Match case
Regular Expression
Start At Top on First Find
Loop Around
4.
Click the Direction option buttons to specify the direction of the search (Up or Down).
5.
Click Find Next to perform the search and close the Find dialog. The first instance of the search string is
highlighted in the Editor window.
6.
Click Bookmark All to apply bookmarks to all found instances of the search string. See the Bookmarks section on
page 76 for details. Click Clear All Bookmarks to clear these bookmarks
7.
Choose Edit > Find Next to continue the search after the first instance of the search string is found.

Search and Replace within the Active File

To perform a Search and Replace operation within the active Source code file:
1.
Choose Edit > Replace to open the Replace dialog (FIG. 137).
FIG. 137
Replace dialog
2.
Enter a search string in the Find What box.
3.
Enter the replace string in the Replace With box.
4.
Click the check boxes to set additional search options as desired.
5.
Select a Replace In option (Selection or Whole File).
6.
Click Find Next to perform the search. The first instance of the search string is highlighted in the Editor window.
7.
Click Replace to replace the highlighted instance of the search string with the replace string, or click Replace All to
replace all instances of the search string.
The total number of replaced instances is indicated in the Status bar (on the left-hand
side).

Goto Line

Select this option to jump to a particular line number in your code.
74
Searches for instances of the search string that exist as whole words only. For example,
a search for "yell", only finds the word "yell", as opposed to any instance of the search
string (i.e. "yellow").
Searches only for instances that match the case (UPPERCASE or lowercase) of the
characters in the search string.
Searches for regular expressions (see Regular Expression Support on page 79).
Start the search at the top of the file (regardless of the cursor's position).
Start the search at the cursor's position, and automatically loop the cursor to either the
top or bottom of the file (depending on the Direction setting) to finish searching the entire
file, to the cursor's position.
NetLinx Studio - Instruction Manual

Advertisement

Table of Contents
loading

Table of Contents