[Top][All Lists]

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

Re: Limits of multiline font-lock

From: Michael Heerdegen
Subject: Re: Limits of multiline font-lock
Date: Wed, 18 Sep 2019 05:23:53 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux)

Stefan Monnier <address@hidden> writes:

> I think if you use jit-lock-register to be told about areas that need to
> be (re)searched, keep them in a side-data-structure (or as
> text-properties), and then in the timer you simply process this
> side-data-structure, you should naturally avoid infinite retriggering of
> hi-locking (assuming you're using either overlays for the actual
> highlight, or you're using with-silent-modifications to avoid
> needlessly retriggering jit-lock).

I think I will do exactly that!  For some reason I forgot about



reply via email to

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