| ||||||||||||||||
|
Search menu
| ||||||||||||||||
|
Hotkey: Ctrl+F
Choose Search->Find to display the Find Text dialog box (fig.1)
Fig.1 Find text dialog box
Find Text dialog box
Here you may specify text you want to locate and to set options that affect the search. Find locates the line of code containing the first occurrence of the string and highlights it.
Dialog box options
Text to find - Enter a search string or click the down arrow next to the input box to select from a list of previously entered search strings.
Options - Specified attributes for the search string
Direction - Direction to search, starting from the current cursor position
Scope - How much of the file is searched
Origin - Where the search starts
Hotkey: F3
Repeat the last search using the same options.
Hotkey: Ctrl+H
Choose Search->Replace to display the Replace Text dialog box (fig.2)
Fig.2 Replace text dialog box
Replace Text dialog box
Use this dialog box to specify text you want to search for and then replace with other text (or with nothing). Most components of the Replace Text dialog box are identical to those in the Find Text dialog box.
Text to find - Enter a search string. To select from a list of previously entered search strings, click the down arrow next to the input box.
Replace with - Enter the replacement string. To select from a list of previously entered search strings, click the down arrow next to the input box. To replace the text with nothing, leave this input box blank.
Prompt on replace - Prompts you before replacing each occurrence of the search string. When Prompt on replace is off, the Code editor automatically replaces the search string.
Replace All - Click Replace All to replace every occurrence of the search string. If you check Prompt on replace, the Confirm dialog box appears on each occurrence of the search string.
Hotkey: Ctrl+T
From the Search menu select Next tool change. The file will be scanned forwards for a tool change (M06), and the cursor will be re-positioned at that line.
Hotkey: Ctrl+Shift+T
From the Search menu select Next tool change. The file will be scanned backwards for a tool change (M06), and the cursor will be re-positioned at that line. | ||||||||||||||||
Ask a question about this topic
| ||||||||||||||||
|