Search commands

See fsearch, bsearch, and dialogsearch.

Searches wrap around the beginning and end of files and obey the current case sensitivity setting. See chgcase. If a string is not given, the previous one is used.
Command Example Meaning
/[string]
/extern
Searches forward through the current file, from the line after the current line, for string. In the example, the cursor will jump forward to the word extern. You can then find more occurrences of this word by repeatedly entering the forward slash (/). In GUI mode, the fsearch command works similarly to /, but also highlights string in the source pane.
?[string]
?extern
Searches backwards for string from the line before the current line. In the example, the cursor will jump backward to the word "extern." You can then find more occurrences of this word, going backwards, by repeatedly entering the question mark (?). In GUI mode, the bsearch command acts similarly to ?, but also highlights string in the source pane.

Related topic:


Previous

Next



Copyright © 1999, Green Hills Software. All rights reserved.