As antlr3 gives me the offset of a token(keyword, etc.) in a line I think I will switch from jedit syntax package to antlr3. The code completion will be based on sidekick plugin from Jedit. The dtd are stored in a cache and a list of possible values are built based on the current token.
Here is a screenshot using an antlr based lexer

No comments:
Post a Comment