Dear All
   I have developed a module (https://gitlab.com/mcheung63/netbeans-antlr) for 
antlr, it provides antlr grammar syntax highlight, but it is not perfect. I 
want to enhance it but problem is : antlr supports "embed action", which is in 
Java, so two languages in same file.

   To provide the best syntax highlight, i need to send those embed actions to 
"java lexer", this point has no problem to me. But Is there anyway merge those 
tokens (java-lexer) back to the one (antlr-lexer) which used by netbeans to 
provide syntax highlight?

    Is there any way to provide syntax highlight but not using lexer? Let say i 
want to hight the second line from character 2-4 in red. Whatever the text is, 
i just want to highlight those positions, is it possible?

Thanks
>From Peter


Reply via email to