gpui: IME race condition bug (#63311)

When an IME makes a selection, but doesn't modify the text, there was a
race condition, where the GPUI->mirror sync could overwrite the
`selectionchanged` event, causing IME sessions to be discarded.

---

Release Notes:

- N/A or Added/Fixed/Improved ...
5218009a2dCameron Mcloughlin committed on 8/27/2026, 1:23:18 PM· committed by GitHubparent12ef40c
2 files changedLine totals unavailable