Inside the JBuilder OpenTools API
Chapter 15 - The Editor

Previous   Next   Listings

The SyntaxChecker example draws squiggly red lines under the locations of errors in the editor, based on the Errors entries in the Structure Pane. It was written by Steven Lee.

Zipped Files

SyntaxChecker.jpx   The project file for this tool
SyntaxChecker.html Project notes
manifest.opentools The OpenTools manifest
SyntaxChecker.java The entry point for this tool
HighlightContextListener.java This class provides functionality within the editor - listening for gutter events, changing the gutter tooltips, and finding editors, documents, and structure trees
SourceErrorWatcher.java This base class watches for changes in the Structure Pane, locates any Errors node, and transfers the error information to the editor
*.java Supporting code for this tool
SyntaxChecker.jar The packaged tool
Inside the JBuilder OpenTools API 2004, Keith Wood Previous   Next   Listings