[geany/geany] c986ee: PHP: show namespaces and traits in the symbol list

Colomban Wendling git-noreply at xxxxx
Wed Jul 3 17:42:14 UTC 2013


Branch:      refs/heads/master
Author:      Colomban Wendling <ban at herbesfolles.org>
Committer:   Colomban Wendling <ban at herbesfolles.org>
Date:        Wed, 17 Apr 2013 15:07:47 UTC
Commit:      c986eeee99a103dfa90acd866cb46be6d5c95ed2
             https://github.com/geany/geany/commit/c986eeee99a103dfa90acd866cb46be6d5c95ed2

Log Message:
-----------
PHP: show namespaces and traits in the symbol list


Modified Paths:
--------------
    src/symbols.c
    tagmanager/ctags/php.c

Modified: src/symbols.c
2 files changed, 2 insertions(+), 0 deletions(-)
===================================================================
@@ -782,11 +782,13 @@ static void add_top_level_items(GeanyDocument *doc)
 		case GEANY_FILETYPES_PHP:
 		{
 			tag_list_add_groups(tag_store,
+				&(tv_iters.tag_namespace), _("Namespaces"), "classviewer-namespace",
 				&(tv_iters.tag_interface), _("Interfaces"), "classviewer-struct",
 				&(tv_iters.tag_class), _("Classes"), "classviewer-class",
 				&(tv_iters.tag_function), _("Functions"), "classviewer-method",
 				&(tv_iters.tag_macro), _("Constants"), "classviewer-macro",
 				&(tv_iters.tag_variable), _("Variables"), "classviewer-var",
+				&(tv_iters.tag_struct), _("Traits"), "classviewer-struct",
 				NULL);
 			break;
 		}


Modified: tagmanager/ctags/php.c
2 files changed, 1 insertions(+), 1 deletions(-)
===================================================================
@@ -117,7 +117,7 @@
 	{ TRUE, 'i', "interface",	"interfaces" },
 	{ FALSE, 'l', "local",		"local variables" },
 	{ TRUE, 'n', "namespace",	"namespaces" },
-	{ TRUE, 't', "trait",		"traits" },
+	{ TRUE, 's', "struct",		"traits" },
 	{ TRUE, 'v', "variable",	"variables" }
 };
 



--------------
This E-Mail was brought to you by github_commit_mail.py (Source: https://github.com/geany/infrastructure).


More information about the Commits mailing list