ZIm/crates/editor
Conrad Irwin ebaa270baf
Clip UTF-16 offsets in text for range (#20968)
When launching the Pinyin keyboard, macOS will sometimes try to peek one
character back in the string.

This caused a panic if the preceding character was an emoji. The docs
say
"don't assume the range is valid", so now we don't.

Release Notes:

- (macOS) Fixed a panic when using the Pinyin keyboard with emojis
2024-11-20 22:04:26 -07:00
..
src Clip UTF-16 offsets in text for range (#20968) 2024-11-20 22:04:26 -07:00
Cargo.toml Extract InlineCompletionProvider to its own crate (#20935) 2024-11-20 16:51:13 -05:00
LICENSE-GPL chore: Change AGPL-licensed crates to GPL (except for collab) (#4231) 2024-01-24 00:26:58 +01:00