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

Getting the current search options (FindOptions)

$
0
0
Hi,

I am writing a Visual Studio 2012 extension and I would like to perform some search operations automatically, either through ITextSearchService or ITextSearchNavigator.

Both require that I pass a FindOptions enumeration to set the search options (case-sensitivity, whole-word matching, etc.).

I would like my operation to use the same options as set in the default search dialog.
Is there a way for me to retrieve the current values for these options?
(Or possibly a way to retrieve a reference to an already set-up ITextSearchNavigator?)

Thanks

Viewing all articles
Browse latest Browse all 4410

Trending Articles



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