GNOME Bugzilla – Bug 762623
GtkSourceStyle: support all GtkTextTag properties in a generic way
Last modified: 2018-05-26 13:56:52 UTC
Instead of duplicating the GtkTextTag properties in GtkSourceStyle, it would be nice to have a smarter support, for all GtkTextTag properties, not just a few. It is nowadays possible to use GVariant parsing, so in the XML style scheme files it would be just a GVariant for the value of the property. Then by introspecting the type of the GtkTextTag property, transform the GVariant to the right variable type that can then be passed to g_object_set(). Or g_object_set_property() if we transform the GVariant to a GValue.
Bug #773351 is related. Also, there is a plan to support CSS for style schemes. But GtkTextTag doesn't support CSS (yet).
It's unlikely that this feature is ever going to be implemented, so I close the bug.