all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* Context sensitive code highlighting.
@ 2008-04-08  9:51 Robin.Fairey
  2008-04-08 13:24 ` Tassilo Horn
  2008-04-09 22:53 ` Eric M. Ludlam
  0 siblings, 2 replies; 4+ messages in thread
From: Robin.Fairey @ 2008-04-08  9:51 UTC (permalink / raw)
  To: help-gnu-emacs

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. This requires adding new keywords to
the highlighter on the fly, determined by content in the file itself
instead of in a keyword list at the beginning of the process. I've
tweaked some other syntax highlighting modes, but I've no idea where
to start with this one. I'm not looking for a full solution, just a
pointer to where to start looking, or something I can read and modify
to my needs?


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2008-04-09 22:53 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-04-08  9:51 Context sensitive code highlighting Robin.Fairey
2008-04-08 13:24 ` Tassilo Horn
2008-04-08 14:17   ` Lennart Borgman (gmail)
2008-04-09 22:53 ` Eric M. Ludlam

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.