FileViewerOpsExtrasDoc.tioga
David Goldberg May 2, 1989 2:54:55 pm PDT
FileViewerOpsExtras
CEDAR 7.0 —
FileViewerOpsExtras
David Goldberg
© Copyright 1989 Xerox Corporation. All rights reserved.
Abstract: An extras package to provide customizable behavior for the ErrorLog button that appears after compiling.
Created by: David Goldberg
Maintained by: David Goldberg <Goldberg.pa>
Keywords: Compiler, Error Messages, FileViewerOps, InterpreterTool.
XEROX  Xerox Corporation
   Palo Alto Research Center
   3333 Coyote Hill Road
   Palo Alto, California 94304

If you have Compiler.ViewSeparateLogs: FALSE set in your profile, then if there are any error messages from the compiler, an ErrorLog button will appear at the top of the source viewer. The first click on this button brings up a viewer with the error log messages. Succeeding clicks will call any procs that you register with RegisterErrorLogProc. Those procs will get called with the arguments from the button click (which button, any modifiers), the error log viewer and also an argument repeat, which is false the first time the ErrorLogProc proc is called, and is true thereafter until the next compilation is done. Thus an ErrorLogProc only needs to actually parse the errors when repeat is false.
Error log parsers should be put into CedarChest/ErrorLogParsers. Running CycleThruErrorLog in that directory will install a simple parser.