insert

fun insert(text: String)

Replaces the selection by text, or inserts it at the cursor, and moves the cursor after it.