Files
gio/app
Elias Naur 216f2c3295 app: always preserve IME snippet replacement text
When a text range in the IME snippet is replaced, the replacement
is discarded if the range don't overlap with the snippet range. However,
the replacement is more relevant than whatever snippet is current.
This change discards the snippet in case of no overlap.

As a bonus, IMEs that leaves the snippet range at [0:0] will have the
snippet track the composing region now.

The FuzzIME test is adjusted to always generate replacements that overlap
Editor content; otherwise the IME snippet and editor state can't be expected
to match.

Signed-off-by: Elias Naur <mail@eliasnaur.com>
2022-02-12 12:01:10 +01:00
..
2021-07-26 15:17:51 +02:00
2020-05-14 10:11:18 +02:00
2022-02-10 11:14:25 +01:00
2022-02-09 21:00:46 +01:00
2022-02-09 21:00:46 +01:00
2022-01-08 16:44:36 +01:00