Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Handle the IME event first #4509

Closed
wants to merge 14 commits into from
Closed

Handle the IME event first #4509

wants to merge 14 commits into from

Conversation

rustbasic
Copy link
Contributor

@rustbasic rustbasic commented May 19, 2024

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.

crates/egui/src/widgets/text_edit/builder.rs Outdated Show resolved Hide resolved
crates/egui/src/widgets/text_edit/builder.rs Outdated Show resolved Hide resolved
crates/egui/src/widgets/text_edit/builder.rs Outdated Show resolved Hide resolved
@rustbasic rustbasic requested a review from emilk May 21, 2024 12:01
@rustbasic rustbasic requested a review from emilk May 22, 2024 11:57
@rustbasic rustbasic closed this Jul 6, 2024
@rustbasic rustbasic deleted the patch57 branch August 7, 2024 15:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants