>>Yes, I collapsed the region, but search was automatically expanding it. It is definitely a behavior change between VS 2008 and VS 2010.
>>
>>Quick search within options didn't find anything relevant.
>>
>>May be it's mentioned in "What's New" section of VS 2010?
>>
>>Try also googling on this problem.
>
>Ok, I wasn't sure if it was like that or not in VS 2008. But, if I brought it, there was a good chance I never experienced that in VS 2008. I will let you know about this research. I am pretty sure they would have come up with an option if they changed the behavior.
Take a look here
http://msdn.microsoft.com/en-us/library/87a13zt0.aspxMatch case
Only displays instances of the Find what string that are matched both by content and by case. For example, a search for "MyObject" with Match case selected will return "MyObject" but not "myobject" or "MYOBJECT."
Match whole word
Only displays instances of the Find what string that are matched in complete words. For example, a search for "MyObject" will return "MyObject" but not "CMyObject" or "MyObjectC."
Search up
When selected, files are searched from the insertion point to the top of the file.
Search hidden text
When selected, the search will also include concealed and collapsed text, such as the metadata of a design-time control; a hidden region of an outlined document; or a collapsed class or method.However, I don't see this option in Find Options.
If it's not broken, fix it until it is.
My Blog