protected virtual async Task <IList <TextChange>?> GetFormattingChangesOnReturnAsync(
     IFormattingInteractionService formattingService,
     Document document,
     int position,
     DocumentOptionSet documentOptions,
     CancellationToken cancellationToken)
 => await formattingService.GetFormattingChangesOnReturnAsync(document, position, documentOptions, cancellationToken).ConfigureAwait(false);
예제 #2
0
 protected virtual Task <ImmutableArray <TextChange> > GetFormattingChangesAsync(
     IFormattingInteractionService formattingService,
     Document document,
     TextSpan?textSpan,
     DocumentOptionSet documentOptions,
     CancellationToken cancellationToken)
 => formattingService.GetFormattingChangesAsync(document, textSpan, documentOptions, cancellationToken);