gtksourceview

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

 



Hi,

anyone know if you can create a new language for syntax highlighting in gtksourceview on the fly? As in, without putting the xml in a certain place on disk, but from code instead?

in the example, we have ...

language = gtk_source_languages_manager_get_language_from_mime_type (manager,
mime_type);


can i not do something along the lines of ...

language = gtk_source_languages_manager_get_language_from_file (manager,
                                            gchar * path);

I want to use my own syntax highlighting scheme for an obscure language you see.

Thanks in advance for any help.

E^r7hW( )rm

_______________________________________________

gtk-list@xxxxxxxxx
http://mail.gnome.org/mailman/listinfo/gtk-list

[Index of Archives]     [Touch Screen Library]     [GIMP Users]     [Gnome]     [KDE]     [Yosemite News]     [Steve's Art]

  Powered by Linux