1 write to _accessKeyIndex
Microsoft.VisualStudio.LanguageServices.Implementation (1)
Options\OptionPageSearchHandler.cs (1)
33
_accessKeyIndex
= _originalContent.IndexOf('_');
9 references to _accessKeyIndex
Microsoft.VisualStudio.LanguageServices.Implementation (9)
Options\OptionPageSearchHandler.cs (9)
45
if (
_accessKeyIndex
!= -1)
48
AccessKeyManager.Unregister(_content[
_accessKeyIndex
].ToString(), _control);
55
if (
_accessKeyIndex
!= -1)
58
AccessKeyManager.Register(_content[
_accessKeyIndex
].ToString(), _control);
88
if (
_accessKeyIndex
>= start &&
_accessKeyIndex
< start + length)
90
var firstPartLength =
_accessKeyIndex
- start;
96
textBlock.Inlines.Add(CreateRun(
_accessKeyIndex
, 1, highlight, underline: true));
99
textBlock.Inlines.Add(CreateRun(
_accessKeyIndex
+ 1, lastPartLength, highlight, underline: false));