The error reporting from the GUI interpreter, when used for script parsing, is different from the error reporting for the script interpreter. The Debug environment needs to access information from the interpret process performed when the script is parsed, so we need to either
- Update the GuiInterpreter class to set the messages consistently with the ScriptInterpreter, or
- Provide access to the ScriptInterpreter results for use in the script editor.
The needed data is a list of line numbers where errors (and warnings) were found.
Note: We might be able to do this using static lists (std::vectors) on the Interpreter base class.