Files
oak-gpui/crates
Smit Barmase 0f7dbf57f5 editor: Fix APCA contrast split text runs offset (#38751)
Closes #38576

In case of inline element rendering, we can have multiple text runs on
the same display row. There was a bug in
https://github.com/zed-industries/zed/pull/37165 which doesn't consider
this multiple text runs case. This PR fixes that and adds a test for it.

Before:

<img width="600" alt="image"
src="https://github.com/user-attachments/assets/3bdf5f14-988b-45dc-bc8e-c5d61ab35a93"
/>

After:

<img width="600" alt="image"
src="https://github.com/user-attachments/assets/0e1a45ff-c521-4994-b259-3a054d89c4df"
/>

Release Notes:

- Fixed an issue where text could be incorrectly highlighted during
search when a line contained an inline color preview.
2025-09-24 04:34:35 +05:30
..
2025-09-18 16:47:23 +00:00
2025-09-23 17:44:43 +00:00
2025-09-18 16:47:23 +00:00
2025-09-08 21:53:17 -06:00
2025-09-22 14:36:10 -07:00
2025-09-22 14:36:10 -07:00
2025-09-03 22:10:14 +00:00
2025-09-18 16:47:23 +00:00
2025-09-22 14:36:10 -07:00
2025-09-18 16:47:23 +00:00
2025-09-18 16:47:23 +00:00
2025-09-17 10:47:09 +00:00
2025-09-18 16:47:23 +00:00
2025-09-23 17:44:43 +00:00
2025-09-08 21:53:17 -06:00
2025-09-18 16:47:23 +00:00
2025-09-18 16:47:23 +00:00
2025-09-22 14:36:10 -07:00
2025-09-08 21:53:17 -06:00
2025-09-22 22:18:38 +00:00
2025-09-23 11:12:39 +00:00
2025-09-22 14:36:10 -07:00
2025-09-18 16:47:23 +00:00
2025-09-18 16:47:23 +00:00
2025-09-22 22:26:47 +00:00
2025-09-18 16:47:23 +00:00
2025-09-18 16:47:23 +00:00