Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Handle the IME event first in
TextEdit
to fix some bugs (emilk#4794)
Handle the `IME` event first There is a need to handle the Ime event first. Fix Issues : When you press `BackSpace`, the entire text is erased, and when you press another letter, it appears again. Fix Issues : When you press `Left`, the character being entered will be copied once more. Fix Issues : When you press `Enter`, `Enter` with `repeat` set is entered and `Enter` is entered twice. Fix Issues : When you press a key in `IME` mode, `repeat` is often set. Fix Issues : Since you may be selecting something in the IME, this also disables the `Arrow` keys.
- Loading branch information