@b4n commented on this pull request.


In src/symbols.c:

>  {
+	GeanyDocument *doc = document_get_current();
+
+	if (plugin_extension_goto_provided(doc, NULL))
+		return plugin_extension_goto_perform(doc, pos, definition);

Ah, right, it calls get_current_word_or_sel(), and is indeed different if there's a selection. I really don't see why we handle selection in this instance, but maybe there's a use case? I'll try and think about it, but it seems odd (unless it's useful for some specific languages where we might get wordchars wrong?).


Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you are subscribed to this thread.Message ID: <geany/geany/pull/3849/review/2111555932@github.com>