zed/crates/multi_buffer/src
Michael Sloan 570e6c80a8
Fix panic on diagnostic hover (#22693)
In #22620 `diagnostic_group` was modified to return results for
multibuffers, but was returning singleton buffer points. `hover_popover`
uses it to find the jump target for clicking the popup - which doesn't
seem to be working right now but that's a separate issue. Now that
`diagnostic_group` is returning values in multibuffers converting these
to anchors was crashing.

Also resolves a potential bug - if folding in multibuffers was supported
then "Go To Diagnostics" would not properly skip diagnostics from folded
regions.

Release Notes:

- N/A
2025-01-06 02:31:02 +00:00
..
anchor.rs Invalidate anchors when they get deleted (#14116) 2024-07-11 11:21:41 -07:00
multi_buffer.rs Fix panic on diagnostic hover (#22693) 2025-01-06 02:31:02 +00:00
multi_buffer_tests.rs Support diagnostic navigation in multibuffers (#22620) 2025-01-03 18:07:56 +00:00