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.
The text before the cursor.