8 references to IndentSpan
Microsoft.CodeAnalysis.CSharp.EditorFeatures.UnitTests (3)
StringIndentation\StringIndentationTests.cs (3)
47
var firstLine = text.Lines.GetLineFromPosition(region.
IndentSpan
.Start);
48
var lastLine = text.Lines.GetLineFromPosition(region.
IndentSpan
.End);
49
var offset = region.
IndentSpan
.End - lastLine.Start;
Microsoft.CodeAnalysis.CSharp.Features (2)
StringIndentation\CSharpStringIndentationService.cs (2)
73
result.Sort(static (region1, region2) => region1.
IndentSpan
.CompareTo(region2.
IndentSpan
));
Microsoft.CodeAnalysis.EditorFeatures (3)
StringIndentation\StringIndentationTaggerProvider.cs (3)
95
var line = snapshot.GetLineFromPosition(region.
IndentSpan
.End);
99
if (line.Start == region.
IndentSpan
.End)
103
region.
IndentSpan
.ToSnapshotSpan(snapshot),