emacs-devel
[Top][All Lists]
Advanced

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

Re: address@hidden: C++-mode: Syntax highlighting: wrong color for funct


From: Ralf Angeli
Subject: Re: address@hidden: C++-mode: Syntax highlighting: wrong color for function identifier depending on the kind of whitespace that follows]
Date: Fri, 17 Feb 2006 12:32:50 +0100

* martin rudalics (2006-02-17) writes:

>  > OK, I've got you now!  It sounds like jit-lock perhaps isn't really the
>  > right strategy for mark-up modes.  But it seems like a hook is required
>  > in the jit-lock stealth bit.  This is surely needed as _well_ as the
>  > after-change hook that expands the region, not instead of it.
>
> Modes shouldn't rely on stealth fontification doing something important.
> Stealth fontification has one single purpose: Prefontify something the
> user might visit eventually - useful for slow terminals.  Using stealth
> fontification for other purposes means asking for troubles.

Sorry, but I don't understand what you mean.  Nobody proposed to use
stealth fontification for other purposes than fontification.  There
just has to be a way for it to adjust the region for fontification in
case of multiline constructs.  (Maybe this is already possible with
contextual fontification as proposed by Stefan, but I haven't looked
deeper into this yet.)

-- 
Ralf




reply via email to

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