开发者

VS 2010 - find text in XAML editor

开发者 https://www.devze.com 2023-01-17 14:03 出处:网络
In VS 2010, when searching for text in the XAML editor, the highlighted text is highlighted in the lightest gray colour when not in focus. Is it possible to change the background colour of the highlig

In VS 2010, when searching for text in the XAML editor, the highlighted text is highlighted in the lightest gray colour when not in focus. Is it possible to change the background colour of the highlighted found item text? I've tried changing the VS theme but cannot find the property which would set this colour. In the screenshot below, the tex开发者_开发百科t "Text" is selected but you can barely see it and its driving me mad.

VS 2010 - find text in XAML editor


It's a bug that it doesn't show up as the active selection color when you perform a Find. I didn't find a workaround for it until after VS2010 shipped, sorry :( I'll find the Connect bug for you to vote up and then update this answer.


WORKAROUND:

After clicking CTRL + F, then click on the scroll bar in the XAML to regain focus on the XAML and you'll see the find text in the correct colour!

0

精彩评论

暂无评论...
验证码 换一张
取 消