With this command you can search for the location of a text in POUs, data types, or in the objects of the global variables.
When the command is entered, a dialog box opens in which you can choose the desired object. The selection is made as in the 'Project' 'Document' description⮫ “'Project' 'Document'”.
If the selection is confirmed with 'OK', the standard dialog for Search will be opened. This appears immediately when the command 'Global Search' is invoked; the search is then automatically carried out in all searchable parts of the project. The most recently entered search strings can be selected through the combo box of the 'Search for' field. If a text string is found in an object, the object is loaded into the corresponding editor or in the library manager and the location where the string was found is displayed. The display of the text that is found, as well as the search and find next functions behave similarly to the command 'Edit' 'Search'.
If you select the 'In message window' button, all locations where the series of symbols searched for appears in the selected object will be listed line by line in tabular form in the message window. Afterward, the number of locations found will be displayed.
If the report window was not opened, it will be displayed. For each location that is found, the following will be displayed:
-
Object name
-
Location of the find in the Declaration (Decl) or in the Implementation (Impl) portion of a POU
-
Line and network number if any
-
The full line in the text editors
-
Complete text element in the graphic editors
If you double-click the mouse on a line in the message window or press <Enter>, the editor opens with the object loaded. The line concerned in the object is marked. You can jump rapidly between display lines using the function keys <F4> and <Shift>+<F4>.