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