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 703193 - Adding support for dynamic keywords
Adding support for dynamic keywords
Status: RESOLVED DUPLICATE of bug 110978
Product: gtksourceview
Classification: Platform
Component: General
unspecified
Other All
: Normal enhancement
: ---
Assigned To: GTK Sourceview maintainers
GTK Sourceview maintainers
Depends on:
Blocks:
 
 
Reported: 2013-06-27 14:22 UTC by Aravindhan
Modified: 2013-12-24 10:53 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Aravindhan 2013-06-27 14:22:00 UTC
People developing applications use glib and use gint,gchar instead of (int, char) for most of times.
But they are not highlighted .So the code looks not that much awesome. The same problem goes for any external library or user defined datatypes. To make the code look more better, gtksourceview should support adding keywords dynamically.

   Idea :- adding api functions to gtksourceview such as add_keyword, remove_keyword,enable_dynamic_keywords,
disable_dynamic_keywords, load_keywords_from_file (returns a unique key which should be used to disable those
keywords latter),disable_keywords_with_key and few others. 
  The processing of symbols should be taken care by external tools  or IDE using gtksourceview.
Comment 1 Sébastien Wilmet 2013-12-24 10:53:37 UTC

*** This bug has been marked as a duplicate of bug 110978 ***