replace static method

TextEdit replace(
  1. Range range,
  2. String newText
)

Utility to create a replace edit.

Implementation

static _i3.TextEdit replace(
  _i3.Range range,
  _i2.String newText,
) =>
    _i5.callMethod(
      _declaredTextEdit,
      'replace',
      [
        range,
        newText,
      ],
    );