zed/crates/editor/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
..
display_map Move git status out of Entry (#22224) 2025-01-04 01:00:16 +00:00
git Move git status out of Entry (#22224) 2025-01-04 01:00:16 +00:00
scroll Dequalify WindowContext and AsyncWindowContext identifiers (#22444) 2024-12-28 21:21:32 +00:00
signature_help lsp: Implement textDocument/signatureHelp for ProjectClientState::Local environment (#12909) 2024-07-11 13:38:33 +03:00
test Move git status out of Entry (#22224) 2025-01-04 01:00:16 +00:00
actions.rs chore: Remove outline dependency from breadcrumbs (#22504) 2024-12-30 12:08:26 +00:00
blame_entry_tooltip.rs Tweak git blame tooltip design (#17517) 2024-09-06 17:12:20 -03:00
blink_manager.rs Hide blinking cursor when window is deactivated (#15408) 2024-07-30 10:49:15 +03:00
clangd_ext.rs Cleanups preparing for WindowContext refactor (#22475) 2024-12-28 21:36:14 +00:00
code_context_menus.rs Resolve completion items once exactly (#22448) 2024-12-27 16:43:01 +00:00
display_map.rs Sticky multibuffer headers (#22391) 2024-12-24 17:55:25 +00:00
editor.rs Fix panic on diagnostic hover (#22693) 2025-01-06 02:31:02 +00:00
editor_settings.rs docs: Update scrollbar > diagnostics setting section (#22574) 2025-01-02 17:27:17 +00:00
editor_settings_controls.rs Toggle & Switch (#21979) 2024-12-13 14:23:02 -05:00
editor_tests.rs Deduplicate edits from WorkspaceEdit LSP responses (#22512) 2024-12-31 00:50:57 +00:00
element.rs Support diagnostic navigation in multibuffers (#22620) 2025-01-03 18:07:56 +00:00
git.rs Add a prototype with a multi buffer having all project git changes (#21543) 2024-12-04 23:36:36 +02:00
highlight_matching_bracket.rs Add ability to separately set background color for highlighted brackets (#17566) 2024-09-26 12:48:23 -04:00
hover_links.rs Cleanups preparing for WindowContext refactor (#22475) 2024-12-28 21:36:14 +00:00
hover_popover.rs Fix panic on diagnostic hover (#22693) 2025-01-06 02:31:02 +00:00
hunk_diff.rs Support diagnostic navigation in multibuffers (#22620) 2025-01-03 18:07:56 +00:00
indent_guides.rs Return back the logic for indent guides check (#22095) 2024-12-16 22:53:14 +02:00
inlay_hint_cache.rs Fix inlay hints display reverting to settings value on theme change (#22605) 2025-01-04 08:26:08 +00:00
inline_completion_tests.rs Show inline completions in menu only for supported providers (#22181) 2024-12-18 12:55:09 +01:00
items.rs Move git status out of Entry (#22224) 2025-01-04 01:00:16 +00:00
linked_editing_ranges.rs Improve project search performance (#20211) 2024-11-05 03:49:37 +02:00
lsp_ext.rs editor: Improve performance of lsp_ext validation (#22299) 2024-12-20 18:41:23 +00:00
mouse_context_menu.rs Add action editor::OpenContextMenu (#21494) 2024-12-04 14:13:50 -07:00
movement.rs Highlight whitespace-only inline completions with background (#21954) 2024-12-13 13:40:34 +01:00
persistence.rs Add fs::MTime newtype to encourage != instead of > (#20830) 2024-11-21 19:21:18 -07:00
proposed_changes_editor.rs Dequalify WindowContext and AsyncWindowContext identifiers (#22444) 2024-12-28 21:21:32 +00:00
rust_analyzer_ext.rs Cleanups preparing for WindowContext refactor (#22475) 2024-12-28 21:36:14 +00:00
scroll.rs editor: Add horizontal scrollbar (#19495) 2024-12-17 17:24:59 +01:00
selections_collection.rs vim: Add support for :g/ and :v/ (#22177) 2024-12-18 08:28:42 -07:00
signature_help.rs chore: Fix several style lints (#17488) 2024-09-06 11:58:39 +02:00
tasks.rs Cleanups preparing for WindowContext refactor (#22475) 2024-12-28 21:36:14 +00:00
test.rs Fix bugs in diff hunk highlighting (#18454) 2024-09-27 11:14:28 -07:00