DeleteSurroundingTextParameters constructor

DeleteSurroundingTextParameters({
  1. required String engineId,
  2. required int contextId,
  3. required int offset,
  4. required int length,
})

Implementation

DeleteSurroundingTextParameters({
  /// ID of the engine receiving the event.
  required String engineId,

  /// ID of the context where the surrounding text will be deleted.
  required int contextId,

  /// The offset from the caret position where deletion will start. This value
  /// can be negative.
  required int offset,

  /// The number of characters to be deleted
  required int length,
}) : _wrapped = $js.DeleteSurroundingTextParameters(
        engineID: engineId,
        contextID: contextId,
        offset: offset,
        length: length,
      );