skip to main content
OpenEdge Development: Basic Development Tools
Procedure Editor Reference : Search menu
 
Search menu
The Search menu options allow you to search for and replace text strings in the current buffer. Table 12 describes the menu that appears when you choose this option.
 
Table 12: Search menu 
Menu option
Description
Find
Searches for specific text
Find Next
Searches for the next occurrence of the text string specified in the Find dialog box
Find Previous
Searches for the previous occurrence of the text string specified in the Find dialog box
Replace...
Searches for and changes specified text
Goto Line...
Moves the insertion point to a specified line number in the current buffer
Search>Find
Choose this option to search for text within a file. When you choose SearchFind, the Find dialog box shown in Figure 11 appears.
Figure 11: Find dialog box
Table 13 describes the fields in the Find dialog box.
 
Table 13: Find dialog box fields 
Field
Purpose
Find What
Identifies the text to search for.
Match Case
Specifies whether the search is case-sensitive.
Wrap at Beginning/End
Specifies whether to wrap to the beginning of the current buffer and continue searching when the search reaches the end of the buffer.
Direction
Specifies whether to search forward or backward through the current buffer. Choose the appropriate radio button to indicate the search direction.
Search>Find Next
Choose this option to find the next occurrence of the text for which you most recently searched using the SearchFind option. This option uses the same search criteria as the SearchFind option.
Search>Find Previous
Choose this option to find the previous occurrence of the text for which you most recently searched using the SearchFind option. This option uses the same search criteria as the SearchFind option.
Search>Replace
Choose this option to search for and replace text within the current buffer. This type of search is always in a forward direction.
When you choose this option, the Replace dialog box shown in Figure 12 appears.
Figure 12: Replace dialog box
Table 14 describes the user-interface elements of the Replace dialog box.
 
Table 14: Replace dialog box elements 
User‑interface element
Purpose
Find What
Identifies the text to search for
Replace With
Specifies the new text you want to insert
Match Case
Specifies whether the search is case-sensitive
The Find What and Replace With fill‑in fields default to the text and options you entered the last time you executed the option in the current session.
Search>Goto Line
Choose this option to move the insertion point to a specific line number within the current buffer.
When you choose this option, the Goto Line dialog box appears as shown in Figure 13. The Goto Line command lets you enter the line number. It defaults to the line number where the cursor is located in the current buffer. If you enter a number that exceeds the number of lines in the current buffer, OpenEdge moves the cursor to the end of the buffer.
Figure 13: Goto Line dialog box