zed/crates/editor
Piotr Osiewicz 867c069b99
editor: Adjust offset of the opened jump target in the multibuffer (#23091)
This PR fixes an issue with jumping from multi_buffer to a file; namely,
the scroll offset of the opened buffer used to match the position within
the multibuffer, but it broke a while back. This is because we were
opening a buffer without providing the data about the origin scroll
offset.

Closes #ISSUE

Release Notes:

- Fixed a bug where the relative position of an excerpt within the
multibuffer was not accounted for while jumping to the buffer, causing
the clicked line to drastically change position on screen.
2025-01-13 21:08:46 +00:00
..
src editor: Adjust offset of the opened jump target in the multibuffer (#23091) 2025-01-13 21:08:46 +00:00
Cargo.toml Add telemetry::event! (#22146) 2024-12-17 11:39:18 -07:00
LICENSE-GPL