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

Fix: Handling state.ime_enabled in multiple TextEdit and Chinese #4910

Closed
wants to merge 3 commits into from

Conversation

rustbasic
Copy link
Contributor

@rustbasic rustbasic commented Aug 3, 2024

Fix: Handling state.ime_enabled in multiple TextEdit.

Issues: When focus is moved elsewhere, you must set ime_enabled to 'false`, otherwise the IME will have problems when focus returns.

Issues: #4908 (Chinese)
Because there are differences in how Korean and Chinese are handled, ui.visuals().text_cursor.ime_preedit_finished is introduced.

For Chinese :

    ui.visuals_mut().text_cursor.ime_preedit_finished = true;

@rustbasic rustbasic changed the title Fix: Handling state.ime_enabled in multiple TextEdit. Fix: Handling state.ime_enabled in multiple TextEdit and chinese Aug 3, 2024
@rustbasic rustbasic changed the title Fix: Handling state.ime_enabled in multiple TextEdit and chinese Fix: Handling state.ime_enabled in multiple TextEdit and Chinese Aug 3, 2024
@rustbasic rustbasic closed this Aug 4, 2024
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.

backspace fail after ime input
1 participant