[antlr-interest] Updated JEdit ANTLR Mode

Zed Shaw zedshaw at zedshaw.com
Sun Apr 28 00:18:33 PDT 2002


Hello All,

I updated the jEdit antlr mode to fix a problem with the Java mode
inside the { }.  Basically, because both ANTLR and Java use { } to
denote blocks, it was causing the parser to not balance blocks
properly.  Also, I'd rather find a way of indicating what language is
used inside a block, rather than just assuming Java.

So, here is the ANTLR mode slightly modified for no language specific
parts.  You can easily turn on whatever language you want (see the
attached file).  

To install this file, you'll need to download the latest jEdit from
http://www.jedit.org/ and install it.  Next, copy this file to your
.jedit/modes/ directory and create a catalog file in that directory. 
See your jEdit help on how to install/create modes for more specific
instructions.

I'd like feedback on the colorization of the text and how it works in
general.  Thanks.

Zed A. Shaw




 

Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/ 

-------------- next part --------------
A non-text attachment was scrubbed...
Name: antlr.xml
Type: text/xml
Size: 1837 bytes
Desc: not available
Url : http://www.antlr.org/pipermail/antlr-interest/attachments/20020428/902ef432/antlr.xml


More information about the antlr-interest mailing list