>> 3. Append a space to the fourth commented line. Bug: fontification of Foo,
>> bar, Snafu and snafu is removed from that line.
> The problem is that after a textual change, the changed line gets
> fontified as an atomic entity, i.e. yanked out of its context. The
If you placed a font-lock-multiline property on the whole thing, font-lock
would know not to yank that one line out of its context.
> solution is to determine the bounds of the region to fontify by analysing
> the surrounding text syntactically.
Presumably, at the moment when Emacs fontified it correctly, it knew the
corresponding bounds, so it could have added the font-lock-multiline
property at that time, thus avoiding the need to re-determine those bounds
later when refontifying.
Stefan
_______________________________________________
emacs-pretest-bug mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/emacs-pretest-bug