[Top][All Lists]
[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 <address@hidden> wrote:
> On Jul 30, 6:30 pm, "Will Chang" <address@hidden> 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