emacs-devel
[Top][All Lists]
Advanced

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

Re: "Font-lock is limited to text matching" is a myth


From: Miles Bader
Subject: Re: "Font-lock is limited to text matching" is a myth
Date: Tue, 11 Aug 2009 23:37:11 +0900

Daniel Colascione <address@hidden> writes:
>> Note: diagnostic messages in js2-mode are highlighted using overlays.
>> I tried using overlays for all highlighting but it was unacceptably
>> slow and had a tendency to crash Emacs.
>
> I've had the same thought. Just as in aside, overlays seem like a much
> better conceptual fit for fontification than text properties do.

Why?

[Aside from the "changing text-properties affect buffer-modified status"
silliness, which I think is probably a mistake, but that's easy enough
to work around.]

-miles

-- 
Monday, n. In Christian countries, the day after the baseball game.




reply via email to

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