registerLinkedEditingRangeProvider method

Disposable registerLinkedEditingRangeProvider(
  1. Object selector,
  2. LinkedEditingRangeProvider provider
)

Register a linked editing range provider.

Multiple providers can be registered for a language. In that case providers are sorted by their {@link languages.matchscore} and the best-matching provider that has a result is used. Failure of the selected provider will cause a failure of the whole operation.

Implementation

_i3.Disposable registerLinkedEditingRangeProvider(
  _i2.Object selector,
  _i3.LinkedEditingRangeProvider provider,
) =>
    _i4.callMethod(
      this,
      'registerLinkedEditingRangeProvider',
      [
        selector,
        provider,
      ],
    );