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: Stefan Monnier
Subject: Re: Need help with search based font-locking
Date: Wed, 30 Dec 2009 13:29:28 -0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1 (darwin)

>> 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).

Great to hear, it,


        Stefan




reply via email to

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