emacs-devel
[Top][All Lists]
Advanced

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

Re: Need help with search based font-locking


From: Tassilo Horn
Subject: Re: Need help with search based font-locking
Date: Wed, 30 Dec 2009 14:56:52 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1.90 (gnu/linux)

Stefan Monnier <address@hidden> writes:

Hi Stefan,

> In your case, tho, a better option might be to change your
> greql-font-lock-keywords-3 so it doesn't change.  See
> sh-font-lock-here-doc for an example of how you might be able to do
> that.

Now my greql-font-lock-keywords-3 are static, and contain two functions
that drive the search and are steered by another variable that may
change.  This given me much more flexibility (now I not only highlight
valid schema elements, but also put a warning face on unknown types,
thus 2 functions).

Bye,
Tassilo




reply via email to

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