16 references to GetLeadingWhitespaceOfLineAtPosition
Microsoft.CodeAnalysis.EditorFeatures.UnitTests (16)
Extensions\ITextSnapshotExtensionsTests.cs (16)
22var leadingWhitespace = GetLeadingWhitespaceOfLineAtPosition(string.Empty, 0);
29var leadingWhitespace = GetLeadingWhitespaceOfLineAtPosition(" ", 0);
36var leadingWhitespace = GetLeadingWhitespaceOfLineAtPosition(" \t ", 0);
43var leadingWhitespace = GetLeadingWhitespaceOfLineAtPosition("\t\t", 0);
50var leadingWhitespace = GetLeadingWhitespaceOfLineAtPosition("Goo", 0);
57var leadingWhitespace = GetLeadingWhitespaceOfLineAtPosition(" Goo", 0);
64var leadingWhitespace = GetLeadingWhitespaceOfLineAtPosition(" \t Goo", 0);
71var leadingWhitespace = GetLeadingWhitespaceOfLineAtPosition("\t\tGoo", 0);
78var leadingWhitespace = GetLeadingWhitespaceOfLineAtPosition("Goo\r\n", 5);
85var leadingWhitespace = GetLeadingWhitespaceOfLineAtPosition("Goo\r\n ", 5);
92var leadingWhitespace = GetLeadingWhitespaceOfLineAtPosition("Goo\r\n \t ", 5);
99var leadingWhitespace = GetLeadingWhitespaceOfLineAtPosition("Goo\r\n\t\t", 5);
106var leadingWhitespace = GetLeadingWhitespaceOfLineAtPosition("Goo\r\nGoo", 5);
113var leadingWhitespace = GetLeadingWhitespaceOfLineAtPosition("Goo\r\n Goo", 5);
120var leadingWhitespace = GetLeadingWhitespaceOfLineAtPosition("Goo\r\n \t Goo", 5);
127var leadingWhitespace = GetLeadingWhitespaceOfLineAtPosition("Goo\r\n\t\tGoo", 5);