The InputHelper is a helper class to perform operations related to the current input connection
Replaces content, in the region delimited by start and end, with the provided text.
fun replaceText(start: Int, end: Int, text: String)
Removes content in the region delimited by start and end.
fun removeText(start: Int, end: Int)
Inserts text at the provided position
fun insertText(position: Int, text: String)
Removes all text on the underlying editor
If something needs to be added or if you find an error in our documentation, please let us know either on our GitHub or Discord.
Last updated on April 23, 2022