avim icon indicating copy to clipboard operation
avim copied to clipboard

Replace syllable overlay with native selection

Open 1ec5 opened this issue 9 years ago • 0 comments

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.

1ec5 avatar Jan 04 '16 08:01 1ec5