cushy icon indicating copy to clipboard operation
cushy copied to clipboard

Finish IME editing support

Open ecton opened this issue 4 years ago • 3 comments
trafficstars

  • [x] Call set_ime_position
  • [ ] Call set_ime_position with a more specific rectangle. Currently the entire Input widget's rect is used
  • [ ] Temporarily insert the IME preview text, and somehow visually highlight it (underline is common)

ecton avatar Sep 01 '21 17:09 ecton

All the support in kludgine is built for this (although cursor support I'm not sure about).

ecton avatar Nov 09 '23 18:11 ecton

This is technically "done" but the preview text is not shown currently.

ecton avatar Dec 10 '23 02:12 ecton

After a3e76f6, the input field should have the IME near it. Currently, multi-line editing isn't really officially supported (https://github.com/khonsulabs/cushy/issues/121), so this is kinda-ok for now. But really, we should restrict the rectangle to the current line being edited, which would allow the OS to place any helper windows even closer to the text being edited.

I'm going to update this ticket to be a tracking issue for remaining IME work.

ecton avatar Jan 12 '24 16:01 ecton