Search | Find in Files

Top  Previous  Next

Search for a text string in files on the disk  (see also Find / Replace text)

 

After specifying the search parameters, you can search for a text string occurring in files stored on disk. If you did not save your current files, some strings may not be found, because the files were not written to disk. Use the mouse to click on the search button, or press the Enter key, to start the search.

 

After a search is complete, you can double-click on a file name shown and open that file in the editor. When you double-click on the text found, the cursor will be positioned on that line. In addition, the options used for the search are copied to the search parameters, so you can use the F3 key to search for the next occurrence for example.

 

The search window will only display a limited number of characters to the left of the text that was found. The symbol '«' will be shown if one or more characters are not displayed.

 

The options of the search dialog are extended with the following check boxes:

 

File names only

When enabled, only the name of the file in which the search text occurred will be shown. When disabled, all matching lines in which the search text occurs will be shown as well.

 

Include sub-directories

When enabled, all sub-directories will be searched; when disabled, only the specified directory will be searched.

 

The following parameters can be specified:

 

File Path

Name of a directory where the search should start. You can enter the directory name from the keyboard, or click on the button to get a directory dialog window.

 

File mask

The file pattern used for the search. To search GAMS files, specify *.gms; all files can be searched by specifying *.* . Multiple patterns can be specified when they are separated by a ; (semi-colon)

 

Exclude folders

One or more strings separated by ; (semi-colon). When a sub-directory matches one of the strings, it will be excluded from searches in that directory.