Use selectRange instead of setSelection, in order to match ITextInput instead of...