[anjuta-extras] scintilla: bgo #690373 - The syntax-highlighting for Gtk types does not work from version 3.x
- From: Sebastien Granjoux <sgranjoux src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [anjuta-extras] scintilla: bgo #690373 - The syntax-highlighting for Gtk types does not work from version 3.x
- Date: Wed, 26 Dec 2012 18:01:01 +0000 (UTC)
commit f6a760abf4f4f786407a171feb4d3ecc3674e0bf
Author: SÃbastien Granjoux <seb sfo free fr>
Date: Wed Dec 26 17:41:47 2012 +0100
scintilla: bgo #690373 - The syntax-highlighting for Gtk types does not work from version 3.x
plugins/scintilla/plugin.c | 6 +++---
plugins/scintilla/properties/styles.properties | 2 ++
2 files changed, 5 insertions(+), 3 deletions(-)
---
diff --git a/plugins/scintilla/plugin.c b/plugins/scintilla/plugin.c
index 847f60d..b2234b9 100644
--- a/plugins/scintilla/plugin.c
+++ b/plugins/scintilla/plugin.c
@@ -328,7 +328,7 @@ activate_plugin (AnjutaPlugin *plugin)
IANJUTA_SYMBOL_QUERY_SEARCH_FS_IGNORE, NULL);
ianjuta_symbol_query_set_mode (query_project,
IANJUTA_SYMBOL_QUERY_MODE_QUEUED, NULL);
- ianjuta_symbol_query_set_filters (query_project, IANJUTA_SYMBOL_TYPE_TYPEDEF,
+ ianjuta_symbol_query_set_filters (query_project, IANJUTA_SYMBOL_TYPE_CLASS | IANJUTA_SYMBOL_TYPE_ENUM | IANJUTA_SYMBOL_TYPE_STRUCT | IANJUTA_SYMBOL_TYPE_TYPEDEF | IANJUTA_SYMBOL_TYPE_UNION,
TRUE, NULL);
g_signal_connect (query_project, "async-result",
G_CALLBACK (project_symbol_found), plugin->shell);
@@ -347,8 +347,8 @@ activate_plugin (AnjutaPlugin *plugin)
IANJUTA_SYMBOL_QUERY_SEARCH_FS_IGNORE, NULL);
ianjuta_symbol_query_set_mode (query_system,
IANJUTA_SYMBOL_QUERY_MODE_QUEUED, NULL);
- ianjuta_symbol_query_set_filters (query_system, IANJUTA_SYMBOL_TYPE_TYPEDEF,
- TRUE, NULL);
+ ianjuta_symbol_query_set_filters (query_system, IANJUTA_SYMBOL_TYPE_CLASS | IANJUTA_SYMBOL_TYPE_ENUM | IANJUTA_SYMBOL_TYPE_STRUCT | IANJUTA_SYMBOL_TYPE_TYPEDEF | IANJUTA_SYMBOL_TYPE_UNION,
+ TRUE, NULL);
g_signal_connect (query_system, "async-result",
G_CALLBACK (system_symbol_found), plugin->shell);
diff --git a/plugins/scintilla/properties/styles.properties b/plugins/scintilla/properties/styles.properties
index b069b2c..cf87bdc 100644
--- a/plugins/scintilla/properties/styles.properties
+++ b/plugins/scintilla/properties/styles.properties
@@ -8217,6 +8217,8 @@ keywords.$(file.patterns.yaml)=true false yes no
style.cpp.17=$(style.anjuta.comment)
# Comment keyword error
style.cpp.18=$(style.anjuta.comment)
+# Libraries symbols
+ style.cpp.19=$(style.anjuta.syskeyword)
# Raw strings for C++0x
style.cpp.20=$(style.anjuta.string)
# Triple-quoted strings for Vala
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]