alonso.torres d6d911f690 🐛 Restore selected text when composition is cancelled
Starting an IME composition over a selection deletes it, and cancelling
the composition left it deleted. When the IME ends with an empty text,
restore the content and the UTF-16 selection from before the
composition, keeping styles, the selection direction and redo. The
cancellation is not recorded as an edit.

AI-assisted-by: claude-opus-5-5
2026-11-16 22:37:35 +01:00
..
2024-12-09 16:06:15 +01:00