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



John Golubenko:
>    If I can find editor that does that kind of highlighting
> (written for Linux ;-), it'll be very helpfull. But, I like
> this SciTE editor a lot, it's seems very good.

   The current prerelease versions of Scintilla and SciTE 1.39 support a
second set of keywords in the C lexer. It does not support regular
expressions or prefix based keyword matching although a prefix matcher would
be fairly easy to add. I'd be concerned at the performance implications of
using regular expressions for this. If you want to modify the C lexer to
support prefix based keyword matching scintilla/src/LexCPP.cxx is the file
to modify.

   Prerelease 1.39 available from the Scintilla CVS at
https://sourceforge.net/cvs/?group_id=2439
   or as a source zip at
http://www.scintilla.org/scite.zip

   To add the keywords in SciTE add this property listing all the keywords:
keywords2.$(file.patterns.cpp)=GtkWidget GtkItemFactory GtkAccelGroup \
...

   Neil





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