provideDocumentRangesFormattingEdits property

FutureOr<List<TextEdit>> Function(TextDocument, List<Range>, FormattingOptions, CancellationToken) get provideDocumentRangesFormattingEdits

Implementation

_i4.FutureOr<_i2.List<_i3.TextEdit>> Function(
  _i3.TextDocument,
  _i2.List<_i3.Range>,
  _i3.FormattingOptions,
  _i3.CancellationToken,
) get provideDocumentRangesFormattingEdits => (
      _i3.TextDocument p0,
      _i2.List<_i3.Range> p1,
      _i3.FormattingOptions p2,
      _i3.CancellationToken p3,
    ) =>
        _i5.callMethod(
          _i5.getProperty(
            this,
            'provideDocumentRangesFormattingEdits',
          ),
          r'call',
          [
            this,
            p0,
            p1,
            p2,
            p3,
          ],
        );
set provideDocumentRangesFormattingEdits (FutureOr<List<TextEdit>> value(TextDocument, List<Range>, FormattingOptions, CancellationToken))

Implementation

set provideDocumentRangesFormattingEdits(
    _i4.FutureOr<_i2.List<_i3.TextEdit>> Function(
      _i3.TextDocument,
      _i2.List<_i3.Range>,
      _i3.FormattingOptions,
      _i3.CancellationToken,
    ) value) {
  _i5.setProperty(
    this,
    'provideDocumentRangesFormattingEdits',
    _i5.allowInterop((
      p0,
      p1,
      p2,
      p3,
    ) =>
        _i6.Promise.futureOr(() => value(
              p0,
              p1,
              p2,
              p3,
            ))),
  );
}