| Subject: | Re: Highlight parent if--else |
|---|---|
| From: | Xah <xahlee@xxxxxxxxx> |
| Date: | Thu, 31 Jul 2008 01:12:50 -0700 (PDT) |
| Newsgroups: | gnu.emacs.help |
On Jul 30, 6:30 pm, "Will Chang" <changwei...@xxxxxxxxx> 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/
☄
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | Highlight parent if--else, Will Chang |
|---|---|
| Next by Date: | Re: basic question: going back to dired, Xah |
| Previous by Thread: | Highlight parent if--else, Will Chang |
| Next by Thread: | Re: Highlight parent if--else, Nikolaj Schumacher |
| Indexes: | [Date] [Thread] [Top] [All Lists] |