3 implementations of GetFormattingChangesOnPasteAsync
Microsoft.CodeAnalysis.CSharp.EditorFeatures (1)
Formatting\CSharpFormattingInteractionService.cs (1)
103public Task<ImmutableArray<TextChange>> GetFormattingChangesOnPasteAsync(Document document, ITextBuffer textBuffer, TextSpan textSpan, CancellationToken cancellationToken)
Microsoft.CodeAnalysis.EditorFeatures (1)
ExternalAccess\VSTypeScript\VSTypeScriptFormattingInteractionService.cs (1)
42public Task<ImmutableArray<TextChange>> GetFormattingChangesOnPasteAsync(Document document, ITextBuffer textBuffer, TextSpan textSpan, CancellationToken cancellationToken)
Microsoft.CodeAnalysis.ExternalAccess.FSharp (1)
Internal\Editor\FSharpEditorFormattingService.cs (1)
91async Task<ImmutableArray<TextChange>> IFormattingInteractionService.GetFormattingChangesOnPasteAsync(Document document, ITextBuffer textBuffer, TextSpan textSpan, CancellationToken cancellationToken)
1 reference to GetFormattingChangesOnPasteAsync
Microsoft.CodeAnalysis.EditorFeatures (1)
Formatting\FormatCommandHandler.Paste.cs (1)
84var changes = formattingService.GetFormattingChangesOnPasteAsync(document, subjectBuffer, span, cancellationToken).WaitAndGetResult(cancellationToken);