Re: editor with syntax highlighting for GTK+/GNOME AP
- From: "Neil Hodgson" <nhodgson bigpond net au>
- To: <gtk-list gnome org>
- Cc: <gtk-devel-list gnome org>, <scintilla-interest lists sourceforge net>
- Subject: Re: editor with syntax highlighting for GTK+/GNOME AP
- Date: Thu, 28 Jun 2001 09:21:22 +1000
> If you want to modify the C lexer to support prefix based
> keyword matching scintilla/src/LexCPP.cxx is the file
> to modify.
Such an easy feature that its now in and available from the previously
mentioned locations. Uses '^' to indicate a prefix by analogy with
start-of-line regexps. Try:
keywords2.$(file.patterns.cpp)=GtkWidget ^GTK_ ^gtk_
This does lose some functionality over listing all the calls which shows
when you have misspelt a call by not highlighting.
] [Thread Prev