To find a character string in the text in the active window, you must either:
Select the Find option in the Help Editor's Edit menu.
Select the Find option in the 4GL Editor's Edit menu.
Click on the icon in the 4GL Editor's tool bar.
This dialog box is used to find a character string in the active document (source or help text), starting at the cursor's current position.
If necessary, any sources in the 4GL Editor that contain blocks will be expanded in order to find any occurrences.
The search is performed in a loop: if either end of the document is reached, the search will continue in the same direction from the other end.
The search criteria will be retained for the options:
Continue search in the Help Editor's Edit menu.
Find next and Find previous in the 4GL Editor's Edit menu.
Data entry
Find what
Character string to be found.
If a block of text was selected in the active document (source or help text) when the dialog box was opened, it will appear in this field.
Default setting: the most recent search character string.
The associated button lets you select a number of common elements found in regular expressions.
Lists
Search in
List used to define the search scope.
The possible options are:
Active document |
The search is performed on the current document. |
All documents |
The search is performed on all documents currently open in the editor. |
Active block |
The search is performed only on the current block (procedure, window, etc.). This option is only available if the current document is a structured source. |
Check boxes
Match whole word only
Checked |
Only those occurrences which exactly match the character string will be found (the search will not return parts of words). |
Unchecked |
All occurrences containing the character string will be found. |
Match case
Checked |
The search will concern the character string as it has been typed in, with exactly the same use of upper and lower case. |
Unchecked |
The search will not distinguish between upper and lower case characters. |
Regular expression
Checked |
The input string is interpreted as a regular expression. |
Unchecked |
The search is performed on the text in the input string. |
Search in all open documents
Checked |
The search will concern all documents that are open in the editor. |
Unchecked |
The search is only performed in the active document in the editor. |
Radio buttons
Up
Instructs the system to search toward the top of the document, starting from the current cursor position. When the start of the document is reached, the search will continue from the end of the document.
Down
Instructs the system to search toward the bottom of the document, starting from the current cursor position. When the end of the document is reached, the search will continue from the start of the document.
Buttons
Next
Used to resume the search after stopping at an occurrence of the string being sought.
Cancel
Closes the dialog box without running the search procedure.
Keyboard shortcut: Esc.