Hi,
"John Golubenko" <[EMAIL PROTECTED]> writes:
> Emacs doesn't do it either. Of course I can modify the sources to make it
> work, but it's another story.
you don't need to modify any source. Just add a few lines to your .emacs.
Something like:
(custom-set-variables
'(c-font-lock-extra-types (quote ("gint" "gfloat" "gchar"
"gint8" "gint16" "gint32" "guint" "guint8" "guint16"
"guint32" "guchar" "glong" "gboolean" "gshort" "gushort"
"gulong" "gdouble" "gldouble" "gpointer" "G_\\w+"
"GList" "GSList" "GFunc" "GPOINTER_\\w+" "GINT_\\w+" "GUINT_\\w+"
"Gtk\\w+" "Gdk\\w+" "GTK\\w+" "GDK\\w+" "NULL"
"Gimp\\w+" "GIMP\\w+"
"FT_\\w+"
"Pango\\w+" "PANGO\\w+"
"->" "FALSE" "TRUE" "FILE" "MIN" "MAX" "CLAMP" "ABS" "DIR" "\\sw+_t"
"GCim\\w+")))
You will want to modify/extend this list a bit and I'm sure there are
better ways to do this, but this one works reasonably well.
Salut, Sven
_______________________________________________
gtk-list mailing list
[EMAIL PROTECTED]
http://mail.gnome.org/mailman/listinfo/gtk-list