After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 626745 - Make _gtk_source_style_apply Public API
Make _gtk_source_style_apply Public API
Status: RESOLVED FIXED
Product: gtksourceview
Classification: Platform
Component: General
2.90.x
Other Linux
: Normal enhancement
: ---
Assigned To: GTK Sourceview maintainers
GTK Sourceview maintainers
Depends on:
Blocks:
 
 
Reported: 2010-08-12 15:54 UTC by José Aliste
Modified: 2016-06-03 12:30 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description José Aliste 2010-08-12 15:54:47 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.
Comment 1 Sébastien Wilmet 2016-06-03 12:30:34 UTC
Finally fixed with commit dbfae912bcac21b0464e5935411c514a805c89cb.

I need this function in another library.