TextEditor set input method's position