Closed martinlippert closed 8 years ago
I did the digging and done it over the week-end.
Wasted quite a few hours trying to make <handler> work (in plugin.xml).
Also got some false start trying to use IHandlerService
and org.eclipse.ui.edit.copy
, until I found the current solution.
The rest was easy, the code to take the text and put it in the clipboard was already there.
So, released, pushed the code to github
Then I looked to see how you "hooked" the copy action. And it was also with setGlobalActionHandler
.
That's what I was most curious about. I will look a bit deeper over the week-end.
Cheers.
…ore putting text into the clipboard
second try... I am happy to contribute everything under the existing Apache license of the project and removed additional copyright or author statements from the code that I wrote. Hope this is fine and gets merged.