Files
oak-gpui/crates
Mikayla MakiandJan Solanti 1a0708f28c Fix a bug where the IME pre-edit would desync from Zed (#12651)
fixes #11829 

In https://github.com/zed-industries/zed/pull/7494, we introduced IME
event buffering, so that we could preempt the IME with a keystroke event
in some cases. However, this caused a desynchronization bug in long
multi-step IME composition, such as the pre-edit used in the Japanese
Romaji keyboard (and other languages). We found that this was due to the
IME issuing actions, and then immediately querying the editor's state
before we had applied those actions. Therefore, this PR removes IME
action buffering.

We have tested all of the cases in the `handle_key_event` documentation
and added a few of our own.

Release Notes:

- Fixed an issue where the IME pre-edit could desynchronize from the
editor on macOS
([#11829](https://github.com/zed-industries/zed/pull/12651))

---------

Co-authored-by: Jan Solanti <jhs@psonet.com>
2024-06-04 12:17:44 -07:00
..
2024-05-29 18:06:45 -07:00
2024-05-29 18:06:45 -07:00
2024-05-10 15:50:20 -06:00
2024-04-23 13:31:21 -04:00
2024-03-28 18:32:11 +01:00
2024-05-22 14:36:15 +03:00
2024-05-29 18:06:45 -07:00
2024-06-03 22:17:10 -06:00
2024-04-30 23:31:59 -06:00
2024-05-10 15:50:20 -06:00
2024-03-26 16:10:09 -07:00
2024-06-04 18:36:54 +02:00
2024-05-09 21:08:49 -06:00
2024-05-23 15:50:59 +02:00
2024-05-29 18:06:45 -07:00
2024-06-03 22:17:10 -06:00
2024-05-29 18:06:45 -07:00
2024-05-29 18:06:45 -07:00
2024-04-15 14:21:52 +02:00
2024-06-04 18:36:54 +02:00
2024-05-29 18:06:45 -07:00
2024-06-03 22:17:10 -06:00