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

krogank9 notifications at xxxxx
Sun Aug 14 01:01:12 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);
> +	//printf("Current scope: %s\n", sname);
> +	read_scope_prefix(editor, pos - 1, scope, sizeof scope, NULL);
> +	str = find_calltip(word, scope, editor->document->file_type);

Yeah I realized that. I removed those comments. Now I know I can't use it

-- 
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#r74694260
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.geany.org/pipermail/github-comments/attachments/20160813/c475a241/attachment.html>


More information about the Github-comments mailing list