Fix duplicated multi-buffer excerpts (#29193)

- **add test case**
- **Merge excerpts more aggressively**
- **Randomized test for set_excerpts_for_path**

Closes #ISSUE

Release Notes:

- Fixed duplicted excerpts (and resulting panics)

---------

Co-authored-by: João Marcos <marcospb19@hotmail.com>
3357736aeaConrad Irwin committed on 4/22/2025, 5:25:09 AM· committed by GitHubparent458ffaa
5 files changedLine totals unavailable