GNOME Bugzilla – Bug 626745
Make _gtk_source_style_apply Public API
Last modified: 2016-06-03 12:30:34 UTC
I think that _gtk_source_style_apply should be Public. I have two reasons why I am proposing this. First, we are reimplementing this function in gedit-document.c (see get_search_match_colors and sync_found_tag methods). Second, each plugin trying to do highlighting in a proper way (i.e. using styleschemes to get the style to get Non-hardcoded colors) is basically also reimplementing this method.
Finally fixed with commit dbfae912bcac21b0464e5935411c514a805c89cb. I need this function in another library.