[antlr-interest] ANTLR lexer vs. JFace RuleBasedScanner

Brannon King BBKing at starbridgesystems.com
Wed Dec 21 15:33:29 PST 2005


I am writing a text language plugin for Eclipse. I have a custom
ReconcilingStrategy that uses the ANTLR parser to locate errors, and the
markers are updated accordingly. It works great. For syntax highlighting
I'm at a loss. What is not obvious to me is how to avoid the
PresentationReconciler, or at least make it use my scan/parse already
performed. It doesn't make sense to me that I would need more than one
scanner.

Can someone point me to an example where ANTLR is used for syntax
highlighting in an Eclipse TextEditor project? Thanks.


More information about the antlr-interest mailing list