4 references to GetFormattingSpan
Microsoft.CodeAnalysis.CSharp.EditorFeatures (2)
AutomaticCompletion\AutomaticLineEnderCommandHandler.cs (2)
113
SpecializedCollections.SingletonCollection(CommonFormattingHelpers.
GetFormattingSpan
(root, span.Value)),
138
return CommonFormattingHelpers.
GetFormattingSpan
(root, TextSpan.FromBounds(startToken.SpanStart, endToken.Span.End));
Microsoft.CodeAnalysis.EditorFeatures (1)
CommentSelection\AbstractCommentSelectionBase.cs (1)
156
var formattingSpans = trackingSnapshotSpans.Select(change => CommonFormattingHelpers.
GetFormattingSpan
(newRoot, change.Span.ToTextSpan()));
Microsoft.VisualStudio.LanguageServices (1)
Venus\ContainedDocument.cs (1)
815
root, new TextSpan[] { CommonFormattingHelpers.
GetFormattingSpan
(root, visibleSpan) },