3 writes to Text
Microsoft.VisualStudio.LanguageServices.New.IntegrationTests (3)
InProcess\InputKey.cs (3)
23
Text
= null;
31
Text
= null;
39
Text
= text;
10 references to Text
Microsoft.VisualStudio.LanguageServices.New.IntegrationTests (10)
InProcess\InputKey.cs (10)
67
else if (
Text
is not null)
70
while (offset <
Text
.Length)
72
if (
Text
[offset] == '\r' && offset <
Text
.Length - 1 &&
Text
[offset + 1] == '\n')
78
else if (
Text
[offset] == '\n')
84
else if (
Text
[offset] == '\t')
92
var nextSpecial =
Text
.IndexOfAny(new[] { '\r', '\n', '\t' }, offset);
93
var endOfCurrentSegment = nextSpecial < 0 ?
Text
.Length : nextSpecial;
94
simulator.Keyboard.TextEntry(
Text
[offset..endOfCurrentSegment]);