Making a Query

Make sure the project is open by double-clicking the project icon in
the Project card. (The project name should be visible in the status
line above the Source panel.)
In the main window:
-
Make sure the project is open by double-clicking the project icon in
the Project card. (The project name should be visible in the status
line above the Source panel.)
-
In the source panel or in any card, select the text you want to query.
-
Choose a query to perform from the Query menu.
In the Query card:
-
Make sure the project is open by double-clicking the project icon in
the Project card. (The project name should be visible in the status
line above the Source panel.)
-
Choose a query from the Option menu.
-
Type in a regular
expression or a string to query over and press <Enter> to perform
the query.
In the Class card:
-
Make sure the project is open by double-clicking the project icon in
the Project card. (The project name should be visible in the status
line above the Source panel.)
-
Choose a query from the Class menu in the main menu bar.
-
Results from queries in the Class card are displayed by highlighting
matches in the Class card.
In the Overview, Query, or Class card:
-
Make sure the project is open by double-clicking the project icon in
the Project card. (The project name should be visible in the status
line above the Source panel.)
-
Select the item you want to query.
-
Select the appropriate query from the right-mouse-button menu.
-
Results from queries in the Overview card are displayed in the Query
card.
-
Results from queries in the Query card are displayed in the Query card.
-
Results from queries in the Class card are displayed by highlighting
matches in the Class card.
Note: If your query does not provide the expected results,
choose Project > Reanalyze Classes to rebuild the class database
that Cosmo Code uses for graphs and queries over classes.

See Also

Guide to the Cosmo Code Development Environment
12-96*239