![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
Edit > Search and Replace (Editor Window)The Edit > Search command enables you to search for text, or search for and replace text, within an editor window. The button bar is replaced with controls for searching in the window:
Search Field
This field is for entering the pattern to search for. Toggling the buttons in the Options menu allows for the setting of optional criteria that limit the search to matching case or whole words by clicking on the corresponding buttons.
Replace With Field
This field is for supplying the replacement string. This field is only available if the Search & Replace radio button is toggled.
Options Menu
The toggle buttons on the Options menu can be used to limit the search.
- Consider Case
Check this box to conduct a case-sensitive search.
- Wildcards
Check this box to use wildcard characters in the search pattern. The directory viewer recognizes the same wildcard characters that the Apex editor recognizes (see Using Wildcard Characters for more details). Note that these wildcards are not the same as those used in filename generation by the shell.
- Whole Word
Check this box to avoid matching word fragments.
Search and Replace Buttons
- Clear
This button clears the Search field.
- Search Forward
Conducts the search forward from the current cursor position in the text.
- Search Backward
Conducts the search backward from the current cursor position in the text.
- Highlight All
This button selects all the matching text in the window. The cursor is positioned at the beginning of the first match and the search direction is set to forward.
- Change
When pressed after a successful search is done, this button will replace the matched pattern with the pattern in the Replace with field.
- Change & Search
When pressed after a successful search is done, this button will replace the matched pattern with the pattern in the Replace with field. A search is then done from the current cursor position (the end of the replaced pattern) in the current direction.
- Change All
This button will replace all instances of the pattern starting from the current cursor position in the text with the pattern in the Replace with field. The cursor is then repositioned after the last replaced pattern.
- Preserve Case
Preserves the case (upper versus lower case letters) of the pattern being replaced.
- Done
The Apex editors are described in the Programmer's Guide.
Additional Topics
Rational Software Corporation http://www.rational.com support@rational.com techpubs@rational.com Copyright © 1993-2001, Rational Software Corporation. All rights reserved. |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |