help-gnu-emacs
[Top][All Lists]
Advanced

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

Re: Highlight parent if--else


From: Xah
Subject: Re: Highlight parent if--else
Date: Thu, 31 Jul 2008 01:12:50 -0700 (PDT)
User-agent: G2/1.0

On Jul 30, 6:30 pm, "Will Chang" <changwei...@gmail.com> wrote:
> Hi all,
>
> I knew highlight-parentheses can highlight the parent ( { or[. Is it
> possible to highlight the parent key words.
>
> for example:
>
> I often write some pl-sql like this.
>
> IF piNum>0 THEN
>
> ELSEIF piNum =-1 THEN
>
> ELSE
>
> END IF.
>
> Can we highlight IF, ELSE END IF just like highlight-parentheses?

From recent discussion on exactly this few months ago, the short
answer is that currently there's no elisp code that do what you want.

However, it is possible to write one that does that by using elisp's
syntax table.

  Xah
∑ http://xahlee.org/

reply via email to

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