Files
oak-gpui/crates
Thorsten BallandBennet 93a4295f66 project search: Fix search results not being highlighted (#18273)
Closes #18254
Closes #18219
Closes #17690

This fixes the project search not highlighting all results.

The problem was relatively simple, even though it took a while to find
it: we inserted multiple excerpts concurrently and the order in the
multi-buffer ended up being wrong. Sorting the resulting `match_ranges`
fixed the problem, but as it turns out, we can do a better job by moving
the concurrency into the method on the MultiBuffer.

Performance is the same, but now the problem is fixed.

Release Notes:

- Fixed search results in project-wide search not being highlighted
consistently and navigation sometimes being broken (#18254, #18219,
#17690)

---------

Co-authored-by: Bennet <bennet@zed.dev>
2024-09-24 15:03:22 +02:00
..
2024-09-23 15:28:04 -06:00
2024-09-23 15:28:04 -06:00
2024-09-19 07:20:27 -04:00
2024-09-23 15:28:04 -06:00
2024-09-13 13:17:49 -04:00
2024-09-19 07:20:27 -04:00
2024-09-13 13:17:49 -04:00
2024-04-30 23:31:59 -06:00
2024-08-13 23:06:07 -07:00
2024-09-23 15:28:04 -06:00
2024-03-11 10:45:57 +01:00
2024-09-23 15:28:04 -06:00
2024-09-23 12:53:57 +03:00
2024-09-23 15:28:04 -06:00
2024-07-15 17:04:15 -06:00
2024-09-23 15:28:04 -06:00
2024-09-19 07:20:27 -04:00
2024-09-17 11:19:07 -04:00
2024-09-20 13:02:39 -06:00
2024-09-16 08:29:46 -04:00
2024-09-23 15:28:04 -06:00