IME delete text support in editor
Nobody has claimed this yet.
- Dominant language
- Rust
- Stars
- 4.3k
- Forks
- 218
- PR merge metrics
- No merged PRs in 30d
Description
The text input widget supports deleting text va IME, but the editor does not.
I tried to make the editor widget be able to delete text via IME request:
https://github.com/dcz-self/floem/tree/ime2
It kinda works, but it gets stuck easily because the value of ed.cursor.with_untracked(|c| c.offset()); doesn't change in the same call - and the cursor is expected to move after deletion is complete.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Compare the editor widget's IME handling with the text input widget, and inspect the referenced ime2 branch, especially the cursor offset behavior described in the issue. The work is done when an IME deletion request completes reliably and the editor cursor advances afterward.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- rust
- Domain
- desktop, frontend, internationalization
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 42/100