insert

fun insert(index: Int, text: String)

Inserts the given text at the specified index.


fun insert(index: Int, text: String, editAction: <Error class: unknown class>.() -> Unit)

Inserts the given text at the specified index and applies attributes to the inserted text atomically.