setText

fun setText(text: CharArray, length: Int)

Reset the text to a new value, and reset all state

Parameters

text

New text

length

length of the text