[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Highlight parent if--else
From: |
Nikolaj Schumacher |
Subject: |
Re: Highlight parent if--else |
Date: |
Thu, 31 Jul 2008 10:59:09 +0200 |
User-agent: |
Gnus/5.11 (Gnus v5.11) Emacs/22.1 (gnu/linux) |
Xah <xahlee@gmail.com> wrote:
> On Jul 30, 6:30 pm, "Will Chang" <changwei...@gmail.com> wrote:
>> Can we highlight IF, ELSE END IF just like highlight-parentheses?
>
> However, it is possible to write one that does that by using elisp's
> syntax table.
I don't think so. Syntax tables can only match single characters.
One would have to write versions of `up-list' and maybe `forward-sexp'.
The rest can be done with existing code.
regards,
Nikolaj Schumacher