6 references to CommonFormattingHelpers
Microsoft.CodeAnalysis.CSharp.EditorFeatures (2)
AutomaticCompletion\AutomaticLineEnderCommandHandler.cs (2)
104
[
CommonFormattingHelpers
.GetFormattingSpan(root, span.Value)],
129
return
CommonFormattingHelpers
.GetFormattingSpan(root, TextSpan.FromBounds(startToken.SpanStart, endToken.Span.End));
Microsoft.CodeAnalysis.EditorFeatures (1)
CommentSelection\AbstractCommentSelectionBase.cs (1)
153
var formattingSpans = trackingSnapshotSpans.Select(change =>
CommonFormattingHelpers
.GetFormattingSpan(newRoot, change.Span.ToTextSpan()));
Microsoft.VisualStudio.LanguageServices (3)
Snippets\SnippetExpansionClient.cs (2)
45
using CommonFormattingHelpers = Microsoft.CodeAnalysis.Editor.Shared.Utilities.
CommonFormattingHelpers
;
218
var formattingSpan =
CommonFormattingHelpers
.GetFormattingSpan(SubjectBuffer.CurrentSnapshot, snippetTrackingSpan.GetSpan(SubjectBuffer.CurrentSnapshot));
Venus\ContainedDocument.cs (1)
810
root, [
CommonFormattingHelpers
.GetFormattingSpan(root, visibleSpan)],