I am writing an addin for Visual Studio 2008. I need to know when some text (code) is selected in Text Editor. I have not been able to find any events for that. For example, when somebody selects some code using mouse or keyboard in the class file, how can I get notified that some text/code has been selected?
Thanks in advance for your help.