The AstBrowser class has a main method with the following javadoc:
The addition of line number highlighting into the browser broke this feature.
The attached fix does the following:
- makes the command line interface work again but allowing null inputArea and rootElement
- prints stack traces if an error occurs (this is a broader issue with error reporting in Ast Browser)
- Updates the java doc to show the true usage.
This is a main method that creates a heavyweight frame... so I didn't write a unit test.