4 references to GetFormattedTextChanges
Microsoft.CodeAnalysis.CSharp.EditorFeatures (1)
Formatting\CSharpFormattingInteractionService.cs (1)
88return Task.FromResult(Formatter.GetFormattedTextChanges(parsedDocument.Root, [formattingSpan], document.Project.Solution.Services, options, cancellationToken).ToImmutableArray());
Microsoft.CodeAnalysis.LanguageServer.Protocol (1)
Handler\Formatting\AbstractFormatDocumentHandlerBase.cs (1)
43var formattingChanges = Formatter.GetFormattedTextChanges(root, SpecializedCollections.SingletonEnumerable(formattingSpan), services, formattingOptions, cancellationToken);
Microsoft.CodeAnalysis.Workspaces.Test.Utilities (2)
Formatting\FormattingTestBase.cs (2)
86var result = Formatter.GetFormattedTextChanges(root, spans, services, options); 94var idempotentResult = Formatter.GetFormattedTextChanges(resultRoot, adjustedSpans, services, options);