DeleteSurroundingTextInCodePointsEditOp

data class DeleteSurroundingTextInCodePointsEditOp : EditOperation
kotlin.Any
   ↳ androidx.ui.input.DeleteSurroundingTextInCodePointsEditOp

An edit operation represents deleteSurroundingTextInCodePoitns callback from InputMethod

Summary

Public constructors

<init>(beforeLength: Int, afterLength: Int)

An edit operation represents deleteSurroundingTextInCodePoitns callback from InputMethod

Public methods

Unit

Processes editing buffer with this edit operation.

Properties

Int

The number of characters in Unicode code points after the cursor to be deleted.

Int

The number of characters in Unicode code points before the cursor to be deleted.

Public constructors

<init>

DeleteSurroundingTextInCodePointsEditOp(
    beforeLength: Int,
    afterLength: Int)

An edit operation represents deleteSurroundingTextInCodePoitns callback from InputMethod

Public methods

process

fun process(buffer: EditingBuffer): Unit

Processes editing buffer with this edit operation.

Properties

afterLength

val afterLength: Int

The number of characters in Unicode code points after the cursor to be deleted.

beforeLength

val beforeLength: Int

The number of characters in Unicode code points before the cursor to be deleted.