5.12 Searching for specific text
Sometimes you would like to find some objects having specific
attributes attached to them, or just want to find and amend some text
object on a large page.
Click on the menu item Attributes → Find
Text/Check Symbol... or just use the shortcut T F to open the
text search widget at the bottom of the window.
At the left hand side of the widget, there is a select button with
which you can select one of the different strategies for searching.
The following options are available:
- Find Text:
With this option, you can look up for text by specifying a substring
which will be searched for as is.
- Find Pattern:
This is a bit more sophisticated way to search for text. Strings are
matched against a pattern containing ‘*’ and ‘?’ wildcards:
‘*’ matches an arbitrary, possibly empty, string, and ‘?’
matches an arbitrary character. Note that the wildcards ‘*’ and
‘?’ can not be escaped to include them literally in a pattern.
- Find Regex:
This is the most powerful way of searching for text as all regular
expressions are available for searching.
- Check Symbol:
This option is unlike others as it aims to search for all wrong
objects on a symbol page including, but not limited by, text objects.
For this reason, it is described in a dedicated section. See Interactive checking of symbol contents.
Enter the text in the text entry and click the button ‘Find’ to
start searching or ‘Cancel’ to dismiss it. If the ‘descend
into hierarchy’ checkbox is activated, the search will be done in all
the schematic hierarchy.
The results of the last search are stored in memory and you may
quickly return to them by using View → Find Text
Results.