IVsFindTarget Interface
Implements Find and Replace capabilities within your editor.
Namespace: Microsoft.VisualStudio.TextManager.Interop
Assembly: Microsoft.VisualStudio.TextManager.Interop (in microsoft.visualstudio.textmanager.interop.dll)
Assembly: Microsoft.VisualStudio.TextManager.Interop (in microsoft.visualstudio.textmanager.interop.dll)
You must do the following for the environment to know what the current target is, and to find the targets for all open documents:
-
When a user's document is activated, push the document's IVsFindTarget into the SEID_FindTarget slot of the selection context.
-
Implement IVsFindTarget on one of the objects returned by the frame properties VSFPROPID_DocView or VSFPROPID_DocData.