[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: "Font-lock is limited to text matching" is a myth
From: |
Lennart Borgman |
Subject: |
Re: "Font-lock is limited to text matching" is a myth |
Date: |
Mon, 10 Aug 2009 22:51:53 +0200 |
On Mon, Aug 10, 2009 at 10:42 PM, David Engster<address@hidden> wrote:
>> I think Xah meant the grammars. Maybe CEDET is not yet using
>> font-lock, I do not know how old JIT-lock, which is an essential part
>> for this, is.
>
> CEDET can create formatted strings from the tags, and it supports using
> font-lock for that (see file semantic-format.el). There's also the
> minor-mode 'semantic-decoration' (semantic-decorate.el) which applies
> styles to certain tags in the buffer while editing, and this mode does
> not use font-lock.
Thanks David. What is the reason that font-lock is not used there?
I do not know much about it, but am a bit curious. Does CEDET use the
font-lock/JIT-lock frame work for handling parsing requirements?
> Since Semantic usually does not parse every
> expression in the buffer, this decoration is currently limited to stuff
> like include statements, function declarations or protected class
> members. (Eric, please correct me if I'm wrong here).
>
> -David
>
- Re: Why js2-mode in Emacs 23.2?, (continued)
- Re: Why js2-mode in Emacs 23.2?, Xah Lee, 2009/08/10
- Re: Why js2-mode in Emacs 23.2?, Xah Lee, 2009/08/10
- Re: Why js2-mode in Emacs 23.2?, Miles Bader, 2009/08/10
- Re: Why js2-mode in Emacs 23.2?, Lennart Borgman, 2009/08/10
- "Font-lock is limited to text matching" is a myth, Daniel Colascione, 2009/08/10
- Re: "Font-lock is limited to text matching" is a myth, Lennart Borgman, 2009/08/10
- Re: "Font-lock is limited to text matching" is a myth, David Engster, 2009/08/10
- Re: "Font-lock is limited to text matching" is a myth,
Lennart Borgman <=
- Re: "Font-lock is limited to text matching" is a myth, Eric M. Ludlam, 2009/08/10
- Re: "Font-lock is limited to text matching" is a myth, Lennart Borgman, 2009/08/10
- Re: "Font-lock is limited to text matching" is a myth, Eric M. Ludlam, 2009/08/10
- Re: "Font-lock is limited to text matching" is a myth, Steve Yegge, 2009/08/11
- Re: "Font-lock is limited to text matching" is a myth, Miles Bader, 2009/08/11
- Re: "Font-lock is limited to text matching" is a myth, Daniel Colascione, 2009/08/11
- Re: "Font-lock is limited to text matching" is a myth, Miles Bader, 2009/08/11
- Re: "Font-lock is limited to text matching" is a myth, Lennart Borgman, 2009/08/11
- Re: "Font-lock is limited to text matching" is a myth, Daniel Colascione, 2009/08/11
- Re: "Font-lock is limited to text matching" is a myth, Daniel Colascione, 2009/08/11