@b4n commented on this pull request.


>  {
+       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 or view it on GitHub:
https://github.com/geany/geany/pull/3849#discussion_r1635545551
You are receiving this because you are subscribed to this thread.

Message ID: <geany/geany/pull/3849/review/[email protected]>

Reply via email to