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

Implementing to Edit.GotoNextLocation in visual studio extension

$
0
0

I have a visual studio plugin that implements a custom find window. I want the user to be able to press F8 (Edit.GotoNextLocation) to move to the next find result. I want this to work in the same way as the built-in find and output windows. If my find window is visible it should respond to F8 when the document has focus.

I understand that I need to use IVsTrackSelectionEx and SEID_ResultList as described here, but the answer doesn't go into details on how to use them. Do I need my tool window to inherit from an interface? How do I hook into the GotoNextLocation event? I've read the documentation on IVsTrackSelectionEx, OnElementValueChange and SEID_ResultList but it still is not clear to me how to proceed.

thanks,

Stewart..


Viewing all articles
Browse latest Browse all 4410

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>