deleteSurroundingText method

Future<void> deleteSurroundingText(
  1. DeleteSurroundingTextParameters parameters
)

Deletes the text around the caret. returns Called when the operation completes.

Implementation

Future<void> deleteSurroundingText(
    DeleteSurroundingTextParameters parameters) async {
  await promiseToFuture<void>(
      $js.chrome.input.ime.deleteSurroundingText(parameters.toJS));
}