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 14:33:27 +0100

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

> I meant that you should not rely on stealth fontification to correct any
> misfontifications.  Stealth fontification does not try to refontify
> anything that is already fontified.  Hence, it makes no sense to "adjust
> the region for fontification".  When `font-lock-default-fontify-region'
> detects that the region it should fontify stealthily is near a multiline
> property, it will extend the region appropriately.

If fontification of the multiline construct in question is only done
when its closing tag is found, there won't be any multiline property
nearby.  That's the proplem to be solved by "the hook".

-- 
Ralf




reply via email to

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