[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Context sensitive code highlighting.
From: |
Tassilo Horn |
Subject: |
Re: Context sensitive code highlighting. |
Date: |
Tue, 08 Apr 2008 15:24:22 +0200 |
User-agent: |
Gnus/5.110007 (No Gnus v0.7) Emacs/23.0.60 (gnu/linux) |
Robin.Fairey@gmail.com writes:
> How hard would it be to implement context sensitive font lock
> behaviour? I'm thinking of something that scans the code for an
> argument list and then highlights subsequent occurences of the
> argument names in a new colour.
Have a look at highlight-symbol.el [1], especially `highlight-symbol-mode'.
Bye,
Tassilo
__________
[1] http://www.emacswiki.org/cgi-bin/emacs-en/HighlightSymbol
http://nschum.de/src/emacs/highlight-symbol/