Language environments may use a generic mechanism for displaying
messages. The errors generated by running a tool (e.g., a type
checker, compiler, etc.) appear in the source ctedit (as selected
information) and in a special message display (as text). Clicking in
the message display on a message argument with the left mouse button
highlights the message's corresponding position in the source (if a
position has been specified). You may then flip through the error
messages in the order that they appear in the source by clicking on
the and
buttons in the left
column of the message display. Only ``active'' messages are displayed
in the source. Active messages are displayed in color in the message
display. You make make all or some messages ``inactive,'' removing
them from the source and making them gray in the message display. This
allows you to examine only a few errors at a time and reduce clutter
in the source editor. Or, if several tools display messages at the
same time, you may want to render one tool's messages inactive while
you examine the other's messages. The
and
buttons of the message display make all messages
inactive or active. Clicking on a message with the left mouse button
while holding the shift button down in the message display toggles the
message back and forth between active and inactive.
N.B. Syntax errors encountered while parsing programs appear in the Centaur toplevel and in a general Le-Lisp error window (which if closed, is reopened automatically). Syntax errors prevent the construction of an abstract syntax tree, so no tree appears in the editor.