@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);

…or just use `get_current_word_or_sel()`?  Not tested, but the click handler 
(that doesn't handle the selection) should actually be *clearing* the selection 
by setting the caret+anchor position, so the selection will always be empty in 
that code path, won't it?

-- 
Reply to this email directly or view it on GitHub:
https://github.com/geany/geany/pull/3849#discussion_r1635547197
You are receiving this because you are subscribed to this thread.

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

Reply via email to