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