mirror of
https://github.com/zed-industries/zed.git
synced 2026-11-24 17:40:47 +01:00
acfc71a423
Release Notes: - When copying and pasting from a multibuffer view (e.g. into the agent panel), the line numbers from the selection corresponded to the line numbers in the multibuffer view (incorrect), instead of the actual line numbers from the file itself. - I also handled the case in which the selection spans multiple excerpts (different files in the multibuffer) by just returning None for that case, but maybe it should instead be split into two selections? Left is before (bugged, should be lines 8:16, instead it is 38:46), right is after (fixed). <div style="display:flex; gap:12px;"> <img src="https://github.com/user-attachments/assets/b1bfce1d-8b6a-41c0-ac7e-51f7bd7b284e" width="48%" /> <img src="https://github.com/user-attachments/assets/2a4c33a0-a969-4a3e-9aa5-d2c2fefba3b2" width="48%" /> </div>