[TextEdit] Fix displaying first preedit string
[TextEditor] Fix misleading parameter names
[TextEditor] Ignore preedit when setting IME caret location
[TextEditor] Fix syntax highlighting after preedit string