nano-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Nano-devel] Syntax Files


From: David Benbennick
Subject: Re: [Nano-devel] Syntax Files
Date: Wed, 12 Mar 2003 16:37:59 -0500
User-agent: Mutt/1.2.5.1i

On Wed, Mar 12, 2003 at 04:16:40PM +0000, Simon Arlott wrote:
> I tried to copy the java syntax parser that's available for emacs, but
> failed - I don't think nano's colour parser is capable, it's just not
> possible to do everything using regular expressions (but I'm not am
> expert on them so maybe it is possible).

What does the emacs version do?  (Screenshot?)  You can do some
complicated things with Nano's regular expression rules.  Attached are the
rules I use.  They're pretty simple, just highlighting comments, keywords,
and literal strings.

Attachment: javarules
Description: Text document

Attachment: pgpdsJM4dKZSF.pgp
Description: PGP signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]