I am writing my own extension. I created a toolbar button. The template I used was “Visual Studio Package”, and during the wizard it was possible to create a command button (or something like that)
So, the button appears, but I can’t figure out how to get the current document or the selected text in the document.
Any help would be appreciated.
source
share