reset

fun reset(inputText: String)(source)

Reset the current input context and discard all markers. Populate the input context with the new inputText.

This function should be called if the cursor was moved.

Parameters

inputText

The text before the cursor.