Hello,
I would to add a command to _ext_menu_default which will do a certain action (search the web) with the word under the cursor.
I have written the command and it works great.
My problem is that I want it to be similar to "Go to definition of" command, meaning that if the word under cursor is "print" it will say in the context menu "Search the web for print" (like it will say "Go to definition of print").
How do I achieve such a behavior?
Thanks in advance