ViewsAda-ASSURED supports a second view of an object that displays only diagnostic messages and placeholders. The command change-view (menu: View/Change View key: F3) is used to select a different view of an object.
Invoke the command change-view. Verify
that the selected view is MESSAGES, make sure
New Window is selected, and click OK.
When the window appears, resize it so that it is fairly small,
but still readable.
The two views (known as BASEVIEW and MESSAGES) are coupled. Changes and navigation in one are reflected immediately in the other. For example if an error is selected in the error view, the offending construct in the BASEVIEW is also selected.
Click on various messages in the MESSAGES view.
Observe that the structural selection changes in both views.
Now click on the VIOLATION message associated with the block in
the BASEVIEW window, and strike RETURN.
Note that the error message disappears from both views.
Views provide a powerful method for the navigation and construction of programs.
Resize the *untitled* window so that only half of the
lines fit in the object pane.
Click on various messages in the MESSAGES view. Observe
that the *untitled* window auto scrolls to track the
structural selection.
Restore the *untitled* window to its original size.