DeleteSurroundingTextEditOp
Kotlin
|Java
data class DeleteSurroundingTextEditOp : EditOperation
kotlin.Any | |
↳ | androidx.compose.ui.text.input.DeleteSurroundingTextEditOp |
An edit operation represents deleteSurroundingText callback from InputMethod
Summary
Public constructors | |
---|---|
An edit operation represents deleteSurroundingText callback from InputMethod |
Public methods | |
---|---|
Unit |
process(buffer: EditingBuffer) Processes editing buffer with this edit operation. |
Properties | |
---|---|
Int |
The number of characters in UTF-16 after the cursor to be deleted. |
Int |
The number of characters in UTF-16 before the cursor to be deleted. |
Public constructors
<init>
DeleteSurroundingTextEditOp(
beforeLength: Int,
afterLength: Int)
An edit operation represents deleteSurroundingText callback from InputMethod
Public methods
Properties
beforeLength
val beforeLength: Int
The number of characters in UTF-16 before the cursor to be deleted.