Quantcast
Channel: Visual Studio Integrate forum
Viewing all articles
Browse latest Browse all 4410

Highlighting code window text from Visual studio tool window using VSPackage

$
0
0

I'm kind off new to the Visual Studio Extensions. Is there a way to interact to code window from Visual Studio 2010 tool window. I have a Datagrid hosted on the VisualStudio tool window. DataGrid contains ClassName, MethodName e.tc. On the click of className/MethodName need to acheive the following

  1. Open the particular .cs file containing className/MethodName
  2. HighLight the particular className/MethodName.

I know this acheivable using "IWpfTextView" class, but not sure how. Did a lot of googling but in vain.Even the link below remains to be un-answered link.

Any help on the above will be greatly appreciated.


Viewing all articles
Browse latest Browse all 4410