delete

Function

Common
fun TextFieldBuffer.delete(start: Int, end: Int)

Delete the text between start (inclusive) and end (exclusive). Pass 0 as start and TextFieldBuffer.length as end to delete everything in this buffer.

Parameters

startThe character offset of the first character to delete.
endThe character offset of the first character after the deleted range.