help-gnu-emacs
[Top][All Lists]
Advanced

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

Re: code between '#ifndef' with a different fore/background color


From: weber
Subject: Re: code between '#ifndef' with a different fore/background color
Date: Wed, 23 Jul 2008 14:13:14 -0700 (PDT)
User-agent: G2/1.0

On Jul 23, 1:08 pm, Rodrigo Canellas <rodrigo.canel...@tqtvd.com>
wrote:
> Hi,
>
> Is is possible to define that a block of code between a '#ifdef XYZ' -
> '#endif', when 'XYZ' is not defined, is displayed with a different
> foreground (or background) font color?
>
> thanks a lot!
>
> --
> This message has been scanned for viruses and
> dangerous content by MailScanner, and is
> believed to be clean.

I don't think that's be possible, because you can even define a
"DEFINE" by command line to gcc, right?
Just changing background for the region between #ifdef to #endif can
be done, though.
-weber
-weber


reply via email to

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