Structural SearchThe manner of structural search depends on the windowing system. Click on the appropriate link for the one that you are using:
|
Command structural-search (menu: Edit/Structural Search key: Alt+S) allows you to search for phrases according to their syntactic structure rather than their textual presentation. The search always starts from the current position of the structural selection, and may go forward or backward from there. If the search string is empty, it is treated as a wild-card that matches every string of the given syntactic context.
Click SELECT on the procedure keyword
to select the entire procedure.
The structural selection advances through each successive name in the code.
Again, click SELECT on the procedure keyword
to select the entire procedure.
Enter e in the Search for box.
Click the Search button.
Note that structual-search advances to the first occurrence of e that is a name, and does not stop, for example, at occurrences of e within keywords.
Click on the Cancel button to pop down the dialog box.
|
|
Command structural-search (menu: Edit/Structural Find key: Ctrl+Shift+F) allows you to search for phrases according to their syntactic structure rather than their textual presentation. The search always starts from the current position of the structural selection, and may go forward or backward from there. If the search string is empty, it is treated as a wild-card that matches every string of the given syntactic context.
Click SELECT on the procedure keyword
to select the entire procedure.
The structural selection advances through each successive name in the code.
Again, click SELECT on the procedure keyword
to select the entire procedure.
Enter e in the Search text field.
Click the Search button.
Note that structual-find advances to the first occurrence of e that is a name, and does not stop, for example, at occurrences of e within keywords.
Click on the Cancel button to pop down the dialog box.
|