Difference between revisions of "Find Dialog"

m
m
Line 11: Line 11:
  
 
:[[image:Find Dialog.png]]
 
:[[image:Find Dialog.png]]
'''in attribute menu''': By default, it searches for an 'Identifier' which contains the search text. Use this menu to search for objects whose Title, Units, Description, Definition, or All text attributes contain the search text.
+
'''in attribute menu''': By default, it searches for an Identifier containing the search text. Use this menu to select other attributes to search, including Title, Units, Description, Definition, or All text attributes.
  
'''Case sensitive:''' Check if you want to match upper and lowercase. By default it ignores case.
+
'''Case sensitive:''' Check if you want to match the specified upper- and lowercase letters. By default it ignores case.
  
'''Include system objects:''' Check if you want to include built-in functions and system variables in your search.
+
'''Include system objects:''' Check if you want to include built-in system functions and variables in your search.
  
'''Regular expression:'''  Check if you want to use wildcards and other options in your search string using [[regular expression]] are a very powerful matching options. Here are some of the most useful:
+
'''Regular expression:'''  Check if you want to use wildcards and other options in your search string using a [[regular expression]]. Regular expressions offer powerful matching options. Here are a few of the most useful:
 
* <code>^Text</code>: Find only objects starting with "Text". It  excludes identifiers (or other attributes)  like "IsText", which contains "Text" but doesn't start with that string.
 
* <code>^Text</code>: Find only objects starting with "Text". It  excludes identifiers (or other attributes)  like "IsText", which contains "Text" but doesn't start with that string.
 
* <code>Text$</code>: Find objects with an identifier (or other attribute) that ends with the characters "text".
 
* <code>Text$</code>: Find objects with an identifier (or other attribute) that ends with the characters "text".
 
* <code>Va\d+</code> : Find identifiers with "Va" followed by one or more numeric digits, such as "Va1" or "Va13".
 
* <code>Va\d+</code> : Find identifiers with "Va" followed by one or more numeric digits, such as "Va1" or "Va13".
*
+
*<code>\bword\b</code>: Find "word" only when in appears as a whole word -- with a space, punctuation, or other word boundary on each side.
*<code>\bword\b</code>: Finds "word" only when in appears as a whole word -- there must be a word boundary on each side.
 
  
 
'''Show matches with [[image:magnifying glass.png]]''': When you check this, it tags each matching node in a Diagram with a magnifying glass object:
 
'''Show matches with [[image:magnifying glass.png]]''': When you check this, it tags each matching node in a Diagram with a magnifying glass object:

Revision as of 01:36, 25 May 2017


Note: Many aspects of the dialog described here are new to Analytica 5.0.


The Find dialog lets you search your model to find an object by its identifier, or for text in its title, description, or other text attributes. You can also search for system functions in the Application or online in this Analytica wiki.

You can open this dialog by selecting Find on the Object menu, or by pressing Ctrl+F. If you select an identifier or other text in a definition or other text in any attribute, and press Ctrl+F, it opens the Dialog with that text in the Search field.

Find Dialog.png

in attribute menu: By default, it searches for an Identifier containing the search text. Use this menu to select other attributes to search, including Title, Units, Description, Definition, or All text attributes.

Case sensitive: Check if you want to match the specified upper- and lowercase letters. By default it ignores case.

Include system objects: Check if you want to include built-in system functions and variables in your search.

Regular expression: Check if you want to use wildcards and other options in your search string using a regular expression. Regular expressions offer powerful matching options. Here are a few of the most useful:

  • ^Text: Find only objects starting with "Text". It excludes identifiers (or other attributes) like "IsText", which contains "Text" but doesn't start with that string.
  • Text$: Find objects with an identifier (or other attribute) that ends with the characters "text".
  • Va\d+ : Find identifiers with "Va" followed by one or more numeric digits, such as "Va1" or "Va13".
  • \bword\b: Find "word" only when in appears as a whole word -- with a space, punctuation, or other word boundary on each side.

Show matches with Magnifying glass.png: When you check this, it tags each matching node in a Diagram with a magnifying glass object:

Found Set Sales model details.png

Buttons

  • Find: Open the first matching object. If there are more matches, you can visit them in turn by selecting Find Next from the Object menu, or press Ctrl+G.
  • List: Open a list of matches in the Outline window. From there you can double-click any item to open it in its Diagram.
  • on the Wiki: Opens a browser window and searches the Analytica Wiki online for the specified text. It ignores any attribute selection or checkbox options, including regular expression.

Find in Table

If you open the Find Dialog while viewing a table, it shows the Find in Table tab, which lets you search for text within the cells of the table:

Find in Table.png
  • Case sensitive: Select this for case-sensitive matching, so that upper and lower case must be as you type it.
  • Match entire cell: Select this to exclude finding the pattern within the text of a cell.

Table search does not work with regular expressions.

History

  • Analytica 4.0: Introduced Find in Table.
  • Analytica 4.6 and earlier: The Find Objects and Find-in-Table dialogs were separate. From a table, the option of searching for objects was not available. To search for objects while viewing a table, bring a non-table window into the foreground, then select Find.
  • Analytica 5.0: Introduced the Text option, the use of regular expressions, the option to depict the found set with a magnifying glass icon, the option to List matches in the Outline window, the combination of Find in Table and Find Objects in the same dialog, and the question mark button on the title bar that jumps to this page.

See Also

Comments


You are not allowed to post comments.