|
From: | Stefan Monnier |
Subject: | Re: Last steps for pretesting (font-lock-extend-region-function) |
Date: | Tue, 25 Apr 2006 17:11:35 -0400 |
User-agent: | Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (gnu/linux) |
> When experimenting with extension of the region to be fontified in > AUCTeX I advised `jit-lock-after-change' to do this extension and with > that piece of advice refontification of a multiline construct after a > buffer change happened immediately while without the advice it took a > few moments. Possibly as long as `jit-lock-context-time' IIUC. That seems to be unrelated to any kind of hook in font-lock-fontify-region. It seems what happens is that without the advice the text doesn't get a font-lock-multiline property but happens to still be correctly refreshed thanks to jit-lock-contextually. Or something like that. Stefan
[Prev in Thread] | Current Thread | [Next in Thread] |