16 references to GetLeadingWhitespaceOfLineAtPosition
Microsoft.CodeAnalysis.EditorFeatures.UnitTests (16)
Extensions\ITextSnapshotExtensionsTests.cs (16)
23var leadingWhitespace = GetLeadingWhitespaceOfLineAtPosition(string.Empty, 0);
30var leadingWhitespace = GetLeadingWhitespaceOfLineAtPosition(" ", 0);
37var leadingWhitespace = GetLeadingWhitespaceOfLineAtPosition(" \t ", 0);
44var leadingWhitespace = GetLeadingWhitespaceOfLineAtPosition("\t\t", 0);
51var leadingWhitespace = GetLeadingWhitespaceOfLineAtPosition("Goo", 0);
58var leadingWhitespace = GetLeadingWhitespaceOfLineAtPosition(" Goo", 0);
65var leadingWhitespace = GetLeadingWhitespaceOfLineAtPosition(" \t Goo", 0);
72var leadingWhitespace = GetLeadingWhitespaceOfLineAtPosition("\t\tGoo", 0);
79var leadingWhitespace = GetLeadingWhitespaceOfLineAtPosition("Goo\r\n", 5);
86var leadingWhitespace = GetLeadingWhitespaceOfLineAtPosition("Goo\r\n ", 5);
93var leadingWhitespace = GetLeadingWhitespaceOfLineAtPosition("Goo\r\n \t ", 5);
100var leadingWhitespace = GetLeadingWhitespaceOfLineAtPosition("Goo\r\n\t\t", 5);
107var leadingWhitespace = GetLeadingWhitespaceOfLineAtPosition("Goo\r\nGoo", 5);
114var leadingWhitespace = GetLeadingWhitespaceOfLineAtPosition("Goo\r\n Goo", 5);
121var leadingWhitespace = GetLeadingWhitespaceOfLineAtPosition("Goo\r\n \t Goo", 5);
128var leadingWhitespace = GetLeadingWhitespaceOfLineAtPosition("Goo\r\n\t\tGoo", 5);