emacs-devel
[Top][All Lists]
Advanced

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

Re: How can I predict which regions xdisp will present me for font-locki


From: Alan Mackenzie
Subject: Re: How can I predict which regions xdisp will present me for font-locking?
Date: Tue, 13 Mar 2012 14:05:25 +0000
User-agent: Mutt/1.5.21 (2010-09-15)

Hello, Stefan.

On Mon, Mar 12, 2012 at 03:25:26PM -0400, Stefan Monnier wrote:
> > I hope this isn't one of these "send complete details" questions, but:

> > In a file.hpp, inside a 3355 line macro (I kid you not), I type a single
> > character.  xdisp responds by presenting jit-lock, successively, with
> > four areas to fontify.  (This was determined by
> > trace-function-background on `font-lock-fontify-region').

> While "complete details" would be nice, just showing the actual four
> areas, plus the corresponding position of point (and maybe also the
> position of beginning and end of the macro) might be a good starting
> point,

The font locking boundaries were indeed set by CC Mode. 

Sorry for wasting people's time.

>         Stefan

-- 
Alan Mackenzie (Nuremberg, Germany).



reply via email to

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