Re: editor with syntax highlighting for GTK+/GNOME AP



  Neil (me):
> 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.

   Neil






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