How do I style user-defined function names in gedit?
问题 I'm trying to tweak a gedit style so that user-defined functions have a different colour. I've searched through http://library.gnome.org/devel/gtksourceview-2.0/stable/lang-reference.html but I couldn't find anything. I thought <style name="def:function" /> might do it, but it seems have no effect in gedit. <?xml version="1.0" ?> <style-scheme id="wombat" name="Wombat" version="1.0"> <author/> <_description>Wombat theme</_description> <style background="#2d2d2d" name="current-line"/> <style