![]() |
![]() |
![]() |
![]() |
Search & Replace
The Java Source Editor's 'Search & Replace' dialog lets the user find any occurrences of a text string and optionally replace them with a new text string. A single 'Search & Replace' dialog is shared between all Java Source Editors, making it easy to perform the same search on multiple files. The dialog will always perform the search in the Editor which currently has the focus.
The search can be performed in three modes:
- Ignore case finds any matches with the same letters, but ignoring the case of the letters. For example, 'java' would find occurrences of 'java', 'JAVA', and 'jAvA'.
- Match case finds any matches with the same letters. For example, 'java' would find only occurrences of 'java', and not 'JAVA' or 'jAvA'.
- Match Perl 5 regular expressions finds matches based on the regular expressions syntax of the Perl 5 language. For example, ' [a-c]* ' matches any word starting with 'a', 'b', or 'c'.
The following buttons are available for searching:
- Find Next finds the next occurrence of the string in the 'Find what:' text field. The search is always performed starting at the cursor location. If a match is found, it will be highlighted in the editor, otherwise a beep sound will indicate no match.
- Replace will replace the highlighted text in the editor with the text in the 'Replace with:' text field. It will then automatically perform a find operation.
- Replace All will replace all occurrences of the search string with the replacement string.
- Cancel will dismiss the Search dialog.
Data Representations, Inc. http://www.datarepresentations.com support@datarepresentations.com sales@datarepresentations.com |
![]() |
![]() |
![]() |
![]() |