I want to contribute a command to the context menu of any text editor when text is selected. In \"the old days\", I would have done this using objectContribution and a neste
I read more about the variables available in command expressions, and I came close to figuring it out on my own, but failed. I then asked a similar question on the eclipse newsgroup and was led in the right direction. Here's an example of how to do mostly what I was looking for: