This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
The codebase for the editor is like the jsp editor. At one time it compiled against NetBeans 3.1. Since then the Open API for the editor has changed, causing the compile to break. Specifically, the following files have compile errors: org/netbeans/modules/antlr/editor/DelegatingEditorKit.java, org/netbeans/modules/antlr/editor/GColoringManager.java, org/netbeans/modules/antlr/editor/GOptions.java, org/netbeans/modules/antlr/editor/GOptionsBeanInfo.java, org/netbeans/modules/antlr/editor/Main.java, org/netbeans/modules/antlr/editor/NbEditorGKit.java, org/netbeans/modules/antlr/editor/g/**, The editor code needs to be brought up to the current API. Stephen Szalla writes: I have constructed Syntax, TokenContext, etc. for ANTLR and borrowed heavily from the JSP stuff to get the embedded language parsing and editor coloring working. I have the ANTLR editor appearing under the editor settings node of the options window, and the settings lists appear on the right when I select ANTLR Editor. But when I try to edit the coloring settings, no token types appear in left side of the fonts and colors property editor. The syntax coloring in the editor isn't completely working, e.g. sometimes a file will be displayed with the last few tokens missing. If you need an example grammar file which exhibits this problem, let me know and I'll try to find one.
The antlr.g file is also out of date and needs to be updated to ANTLR 2.7.1 which will get the org/netbeans/modules/antlr/editor/g/** files compiling again.
Ok, it appears to be working. At least the editor runs inside NetBeans.