|
The SE (search) command is used to search for a word or phrase in an open file.
| sea: for case-sensitive (absolute) forward search |
| seba: for case-sensitive (absolute) backward search |
The search command is entered as follows:
| 1 | Place the cursor at the beginning of the file or at the point in the document where you want to begin the search. |
| 2 | Press F9 to access the action line |
| 3 | Type one of the four search commands above followed by a space and then a backslash (or another delimiter) then the word or phrase you want to search for then another backslash (or other delimiter). For example, to search for the word "target", type se \target\ |
| 4 | Press F10 to begin the search. Your cursor will move to the first occurrence. |
| 5 | To find the next occurrence, press F10 again. |
The change commands used to replace text within an open file are as follows:
| cv: pause and verify before making changes (cva for absolute case matches) |
| ci: change invisible without viewing the process (cia for absolute case matches) |
| ch: make every change while viewing the process (cha for absolute case matches) |
The replace command is entered as follows:
| 1 | Place the cursor at the beginning of the file or at the point in the document where you want to begin the search. |
| 2 | Press F9 to access the action line |
| 3 | Type one of the change commands, followed by a space, backslash, the word or phrase to be replaced, another backslash, the replacement word or phrase and then another backslash. For example to change the words "change from" to "change to", type: cv \change from\change to\ |
| 4 | Press F10 to execute the command. |
| 5 | If you used the cv (or cva) change command, you will be prompted Change? Choose Yes, No, Stop here or One more by clicking one of the buttons or by typing the underlined letter. It is possible that the Change? dialog will obscure the word or phrase that is to be changed. If this happens, the Change? dialog can be moved. See . If you choose ci or ch (or cia or cha) you will not be prompted until the replace is complete and Done appears on the status line. |
See also:
Find and Replace
|