nano-devel
[Top][All Lists]
Advanced

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

Re: [Nano-devel] aggressive C color highlighting


From: Mike Frysinger
Subject: Re: [Nano-devel] aggressive C color highlighting
Date: Wed, 2 Aug 2006 12:24:47 -0400
User-agent: KMail/1.9.3

On Tuesday 01 August 2006 10:46, David Lawrence Ramsey wrote:
> How about this?
>
> color brightblue "//.*"
> color brightblue start="(/){1}\*" end="\*(/){1}"

seems to work :)

the multiline string has a similar issue ... but dont know if a similar fix 
will work ... consider this:
#define foo(x) \
        x("hi \"mister"); \
        x("booga");

the problem being
color brightyellow start=""(\\.|[^"])*\\[[:space:]]*$" end="^(\\.|[^"])*""
doesnt take into consideration \" ...
-mike

Attachment: pgpxUMHWF5Vqn.pgp
Description: PGP signature


reply via email to

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