Hey Lars,
Le 13/10/2017 à 09:08, Lars Paulsen a écrit :
I would like to know if anyone knows a comfortable way to display a web page for the current selection based on the language type and ideally a pattern. I think of something like this:
right click on a selection
choose some context menu item
depending on the selected text open a browser with a search result
search page should ideally depend on file/language type and pattern.
So if the file is a "C" file then, e.g. search the glib reference manual if selected text matches "g_*". On no better match (as a default for the language "C" search on a general "C" page (e.g. www.cplusplus.com).
Is there any existing comfortable solution for this? Thanks for all replies in advance.
I believe context actions are what you're searching for: http://www.geany.org/manual/#context-actions
Cheers, Colomban