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

krogank9 notifications at xxxxx
Fri Aug 12 21:42:17 UTC 2016


> @@ -2045,8 +2114,13 @@ gboolean editor_show_calltip(GeanyEditor *editor, gint pos)
>  	editor_find_current_word(editor, pos - 1, word, sizeof word, NULL);
>  	if (word[0] == '\0')
>  		return FALSE;
> -
> -	str = find_calltip(word, editor->document->file_type);
> +	
> +	scope[0] = '\0';
> +	//const gchar *sname;
> +	//symbols_get_current_scope(editor->document, &sname);

I would have like to use symbols_get_current_scope here, but it kept returning "unknown" if there is a fix so I can remove read_scope_prefix function then please let me know

-- 
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/1177/files/a3a392a6a34312247351a7f7da8b599e17adb327#r74664831
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.geany.org/pipermail/github-comments/attachments/20160812/df3c291d/attachment.html>


More information about the Github-comments mailing list