LinkedEditingRangeProvider constructor

LinkedEditingRangeProvider({
  1. FutureOr<LinkedEditingRanges> provideLinkedEditingRanges(
    1. TextDocument,
    2. Position,
    3. CancellationToken
    )?,
})

Implementation

factory LinkedEditingRangeProvider(
        {_i4.FutureOr<_i3.LinkedEditingRanges> Function(
          _i3.TextDocument,
          _i3.Position,
          _i3.CancellationToken,
        )? provideLinkedEditingRanges}) =>
    LinkedEditingRangeProvider._(
        provideLinkedEditingRanges: provideLinkedEditingRanges == null
            ? null
            : _i5.allowInterop((
                p0,
                p1,
                p2,
              ) =>
                _i6.Promise.futureOr(() => provideLinkedEditingRanges(
                      p0,
                      p1,
                      p2,
                    ))));