Files
oak-gpui/crates
Jason Lee 65e751ca33 Revert "gpui: Fix shape_text split to support \r\n" (#31031)
Reverts zed-industries/zed#31022

Sorry @mikayla-maki, I found that things are more complicated than I
thought.

The lines returned by shape_text must maintain the same length as all
the original characters, otherwise the subsequent offset needs to always
consider the difference of `\r\n` or `\n` to do the offset.

Before, we only needed to add +1 after each offset after the line, but
now we need to consider +1 or +2, which is much more complicated.
2025-05-20 16:01:47 +00:00
..
2025-04-02 13:26:34 -07:00
2025-04-02 13:26:34 -07:00
2025-04-02 13:26:34 -07:00
2025-04-02 13:26:34 -07:00
2025-04-02 13:26:34 -07:00
2025-05-14 18:29:28 +02:00
2025-04-02 13:26:34 -07:00
2025-04-02 13:26:34 -07:00
2025-05-07 23:11:09 +03:00
2025-04-02 13:26:34 -07:00
2025-04-23 20:54:09 +00:00
2025-04-02 13:26:34 -07:00
2025-05-07 15:37:06 +00:00
2025-04-02 13:26:34 -07:00
2025-04-02 13:26:34 -07:00
2025-05-15 22:28:52 +00:00
2025-04-02 13:26:34 -07:00
2025-05-15 22:28:52 +00:00
2025-04-02 13:26:34 -07:00
2025-04-02 13:26:34 -07:00
2025-04-02 13:26:34 -07:00
2025-04-02 13:26:34 -07:00
2025-04-02 13:26:34 -07:00
2025-05-15 22:28:52 +00:00
2025-04-02 13:26:34 -07:00
2025-05-14 18:29:28 +02:00
2025-05-01 19:24:14 +00:00