project search: Reduce hangs on main thread (#39857)

This takes the idea that @RemcoSmitsDev started on in
https://github.com/zed-industries/zed/pull/39354. We did away with
grabbing a snapshot of the display map when buffer coordinates were
sufficient.
Closes #37267

Release Notes:

- Reduced micro-stutters in project search with large multi-buffer
contents.

---------

Co-authored-by: Smit Barmase <heysmitbarmase@gmail.com>
ba2337ffb9Piotr Osiewicz committed on 10/9/2025, 11:11:11 AM· committed by GitHubparent37d676e
5 files changedLine totals unavailable