- if (tags)
- {
GPtrArray *filtered = g_ptr_array_new();
foreach_ptr_array(tag, i, tags)
{
if (strcmp(tag->name, word) == 0)
g_ptr_array_add(filtered, tag);
}
g_ptr_array_free(tags, TRUE);
tags = filtered;
- }
- else
- {
/* use all types in case language uses wrong tag type e.g. python "members" instead of "methods" */
Nope, we map the ctags types to our own representation in Geany now:
https://github.com/geany/geany/blob/master/src/tagmanager/tm_parser.c#L96
And methods seem to get mapped to tm_tag_method_t so maybe this comment is just outdated.