14326
-----
Issue 5227: NonInteractiveUIManager should implement #syntaxErrorNotificationDefaultAction:
http://code.google.com/p/pharo/issues/detail?id=5227Thanks Camillo Bruni!
Primarily fixed startup errors for loaded scripts
- CodeLoader prints out SyntaxErrors and the filename if a script fails to load
- added
CommandLine
UIManager which should be an interactive implementation for being used on the terminal
- NonInteractiveUIManager inherits from
CommandLine
UIManager so that the logging facility can be shared
- Cleaned up SyntaxError
- added direct initializers with SyntaxErrorNotification:
- properly color the displayed code
- selec the error message
- display the error message in the title
- double click on the class name opens the debugger
- Cleaned up users of SyntaxErrorNotification:
- provide the code in raw format without included error message
- changed the notion of headless and interactive on SmalltalkImage
- headless == no display attached
- noninteractive == no user input (previously the negation of headless)
- added new possible commmandline option -interactive
- added convenience method in String >> #lineNumberCorrespondingToIndex: used for formatting the syntax errors
--
Marcus Denker --
http://marcusdenker.de