Find and replace is not working for vs extension custom editor in VS2022
Find and replace is not working for custom editor in VS2022. It works in VS2019. We have implemented IVsFindTarget for our editor.
In fact, once I click Find Next, none of the IVsFindTarget methods are getting hit and it is not able to find the search word from the text.
Ideally when I click Find Next, IVsFindTarget.Find method should be invoked. Please correct me if I am wrong.
The view has the implementation of the following interface
IVsWindowPane,IVsStatusbarUser,IVsFindTarget, IVsFindTarget2,IVsTextImage, IVsTextSpanSet, IVsTextBuffer, IVsTextView, IVsCodeWindow,IVsTextLines, IVsDpiAware