Files
oak-gpui/zed
Antonio Scandurra d5ec0c8feb Fix moving to next word boundary with multi-byte characters
Previously, for a given point, we would create a char iterator at
the start of the row and the skip `column` characters. This is
however incorrect because display points are expressed in bytes,
and so we could park the anchor midway through a multi-byte character.

This commit fixes the issue by switching `DisplayMap::chars_at` to
take a point instead and skipping characters correctly when a point with
a non-zero column is provided.
2021-08-02 14:11:31 +02:00
..
2021-07-30 09:50:28 -07:00
2021-07-30 19:34:35 -04:00
2021-07-30 19:34:35 -04:00
2021-07-13 18:22:00 +02:00