deleteSurroundingText method
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));
}