K3Editor
Represents the editor this input method is controlling. Broadly speaking, this interface is the high-level abstraction of the actual platform-specific connection to the application we are inputting text to.
On Android, this will typically be wrapping the input connection. In Jetpack Compose, this might wrap a text field state, in testing this just an in-memory string builder for text field mocking.
Inheritors
Functions
Link copied to clipboard
abstract fun replaceText(range: IntRange, text: String, newSelection: K3TextRange, newComposition: K3TextRange?)
Request to perform a replace text operation on the underlying editor.
Link copied to clipboard
Request to update the composition range, without altering anything else of the editor state.