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

Replace syllable overlay with native selection #164

Open
1ec5 opened this issue Jan 4, 2016 · 0 comments
Open

Replace syllable overlay with native selection #164

1ec5 opened this issue Jan 4, 2016 · 0 comments

Comments

@1ec5
Copy link
Owner

1ec5 commented Jan 4, 2016

The syllable overlay is elegant but syncing it with the text will be a challenge, especially in non-left-aligned text or in situations where layout depends on the text length. Instead of managing an overlay ourselves, we could use nsISelectionController to set a special selection type, as I’m doing in #28. SELECTION_IME_RAWINPUT and SELECTION_IME_CONVERTEDTEXT look promising.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant