8 references to CommonFormattingHelpers
Microsoft.CodeAnalysis.CSharp.EditorFeatures (2)
AutomaticCompletion\AutomaticLineEnderCommandHandler.cs (2)
113SpecializedCollections.SingletonCollection(CommonFormattingHelpers.GetFormattingSpan(root, span.Value)), 138return CommonFormattingHelpers.GetFormattingSpan(root, TextSpan.FromBounds(startToken.SpanStart, endToken.Span.End));
Microsoft.CodeAnalysis.EditorFeatures (1)
CommentSelection\AbstractCommentSelectionBase.cs (1)
156var formattingSpans = trackingSnapshotSpans.Select(change => CommonFormattingHelpers.GetFormattingSpan(newRoot, change.Span.ToTextSpan()));
Microsoft.CodeAnalysis.EditorFeatures.Cocoa (1)
Snippets\AbstractSnippetExpansionClient.cs (1)
100var formattingSpan = CommonFormattingHelpers.GetFormattingSpan(SubjectBuffer.CurrentSnapshot, snippetTrackingSpan.GetSpan(SubjectBuffer.CurrentSnapshot));
Microsoft.CodeAnalysis.VisualBasic.EditorFeatures (1)
LineCommit\CommitCommandHandler.vb (1)
108Dim textspan = CommonFormattingHelpers.GetFormattingSpan(snapshot, selections(0))
Microsoft.VisualStudio.LanguageServices (3)
Snippets\AbstractSnippetExpansionClient.cs (2)
45using CommonFormattingHelpers = Microsoft.CodeAnalysis.Editor.Shared.Utilities.CommonFormattingHelpers; 222var formattingSpan = CommonFormattingHelpers.GetFormattingSpan(SubjectBuffer.CurrentSnapshot, snippetTrackingSpan.GetSpan(SubjectBuffer.CurrentSnapshot));
Venus\ContainedDocument.cs (1)
815root, new TextSpan[] { CommonFormattingHelpers.GetFormattingSpan(root, visibleSpan) },