16 references to GetLeadingWhitespaceOfLineAtPosition
Microsoft.CodeAnalysis.EditorFeatures.UnitTests (16)
Extensions\ITextExtensionsTests.cs (16)
18var leadingWhitespace = GetLeadingWhitespaceOfLineAtPosition(string.Empty, 0); 25var leadingWhitespace = GetLeadingWhitespaceOfLineAtPosition(" ", 0); 32var leadingWhitespace = GetLeadingWhitespaceOfLineAtPosition("\t\t", 0); 39var leadingWhitespace = GetLeadingWhitespaceOfLineAtPosition(" \t ", 0); 46var leadingWhitespace = GetLeadingWhitespaceOfLineAtPosition("Goo", 0); 53var leadingWhitespace = GetLeadingWhitespaceOfLineAtPosition(" Goo", 0); 60var leadingWhitespace = GetLeadingWhitespaceOfLineAtPosition("\t\tGoo", 0); 67var leadingWhitespace = GetLeadingWhitespaceOfLineAtPosition(" \t Goo", 0); 74var leadingWhitespace = GetLeadingWhitespaceOfLineAtPosition("Goo\r\n", 5); 81var leadingWhitespace = GetLeadingWhitespaceOfLineAtPosition("Goo\r\n ", 5); 88var leadingWhitespace = GetLeadingWhitespaceOfLineAtPosition("Goo\r\n\t\t", 5); 95var leadingWhitespace = GetLeadingWhitespaceOfLineAtPosition("Goo\r\n \t ", 5); 102var leadingWhitespace = GetLeadingWhitespaceOfLineAtPosition("Goo\r\nGoo", 5); 109var leadingWhitespace = GetLeadingWhitespaceOfLineAtPosition("Goo\r\n Goo", 5); 116var leadingWhitespace = GetLeadingWhitespaceOfLineAtPosition("Goo\r\n\t\tGoo", 5); 123var leadingWhitespace = GetLeadingWhitespaceOfLineAtPosition("Goo\r\n \t Goo", 5);