[Github-comments] [geany] If more tags are found during tag definition/declaration goto, let user select which one to use (#406)

Colomban Wendling notifications at xxxxx
Sat Feb 13 22:16:49 UTC 2016


> +
> +	if (new_doc)
> +	{
> +		GeanyDocument *old_doc = document_get_current();
> +
> +		navqueue_goto_line(old_doc, new_doc, tag->line);
> +	}
> +
> +	gtk_widget_hide(tag_goto_popup);
> +	tm_tag_unref(tag);
> +}
> +
> +
> +static gboolean on_key_pressed(GtkWidget *widget, GdkEventKey *event, gpointer user_data)
> +{
> +	guint state = event->state & gtk_accelerator_get_default_mod_mask();

should probably use `keybindings_get_modifiers()`

---
Reply to this email directly or view it on GitHub:
https://github.com/geany/geany/pull/406/files#r52834471
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.geany.org/pipermail/github-comments/attachments/20160213/4103da0e/attachment.html>


More information about the Github-comments mailing list