Files
zed/crates
Agus Zubiaga 0599f0fcb6 Fix vertical alignment when jumping from multibuffers (#22613)
Clicking buffer headers and line numbers would sometimes take you to a
disorienting scroll position. This PR improves that so the destination
line is roughly at the same Y position as it appeared in the
multibuffer.



https://github.com/user-attachments/assets/3ad71537-cf26-4136-948f-c5a96df57178


**Note**: The alignment won't always be perfect because the multibuffer
and target buffer might start at a different absolute Y position
(because of open search, breadcrumbs, etc). I wanted to compensate for
that, but that requires a fundamental change that I'd prefer to make
separately.

Release Notes:

- Fix vertical alignment when jumping from multibuffers
2025-01-03 14:37:00 +00:00
..
2024-12-17 22:16:59 -07:00
2024-04-30 23:31:59 -06:00
2024-03-11 10:45:57 +01:00
2024-12-13 14:23:02 -05:00
2024-11-18 22:56:34 +01:00
2024-12-03 23:22:26 -05:00
2025-01-02 12:07:46 +00:00
2025-01-01 12:31:37 -05:00