[Github-comments] [geany/geany] Added support for scoped function calltips (#1176)

krogank9 notifications at xxxxx
Fri Aug 12 10:03:32 UTC 2016


> @@ -1907,7 +1967,7 @@ static gchar *find_calltip(const gchar *word, GeanyFiletype *ft)
>  	g_return_val_if_fail(ft && word && *word, NULL);
>  
>  	/* use all types in case language uses wrong tag type e.g. python "members" instead of "methods" */
> -	tags = tm_workspace_find(word, NULL, tm_tag_max_t, NULL, ft->lang);
> +	tags = tm_workspace_find(word, strlen(scope)==0?NULL:scope, tm_tag_max_t, NULL, ft->lang);

ok i fixed it in tm_workspace.c


-- 
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/1176/files/98e335b952f41d61b396c802bffc324ac4e1bce5#r74568185
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.geany.org/pipermail/github-comments/attachments/20160812/f502a479/attachment.html>


More information about the Github-comments mailing list