[Github-comments] [geany/geany] WIP: Scoped calltips (#1188)

elextr notifications at xxxxx
Fri Aug 26 23:28:10 UTC 2016


> +	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" */

Oh I thought that was only for symbols display, not for storing tags inside TM.

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/geany/geany/pull/1188/files/91ccf4842a1f86559d419db5582683be2e1f1938#r76502388
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.geany.org/pipermail/github-comments/attachments/20160826/b98ba947/attachment.html>


More information about the Github-comments mailing list