deleteText

open fun deleteText(position: <Error class: unknown class>, nChars: Int): <Error class: unknown class>

Deletes a sequence of characters from the buffer.

Return

The number of characters deleted.

Parameters

position

position at which to delete text

nChars

number of characters to delete