ZIm/crates/workspace/src
Anthony Eid 6386336eee
debugger: Fix bug where active debug line highlights weren't cleared (#29562)
## Context
The bug occurred because we stopped propagating the
`BreakpointStoreEvent::SetDebugLine` whenever a new debug line highlight
had been set. This was done to prevent multiple panes from having
editors focus on the debug line. However, it stopped the event from
propagating to editors that needed to clear their debug line highlights.

I fixed this by introducing two phases
1. Clear all debug line highlights
2. Set active debug line highlight in singular editor 

I also added a test to prevent regressions from occurring

Release Notes:

- N/A
2025-04-29 15:15:45 +00:00
..
persistence chore: Bump Rust edition to 2024 (#27800) 2025-03-31 20:55:27 +02:00
dock.rs workspace: Do not call set_active when deserializing a dock if that dock was not visible (#27852) 2025-04-01 16:33:52 +00:00
history_manager.rs History manager (#26369) 2025-04-11 21:34:51 +00:00
item.rs Add searchable global tab switcher (#28047) 2025-04-28 09:21:27 +00:00
modal_layer.rs editor: Hide mouse context menu when modal is opened (#29127) 2025-04-21 20:13:26 +05:30
notifications.rs chore: Bump Rust edition to 2024 (#27800) 2025-03-31 20:55:27 +02:00
pane.rs Add searchable global tab switcher (#28047) 2025-04-28 09:21:27 +00:00
pane_group.rs Terminal in debugger (#29328) 2025-04-24 14:26:09 -06:00
persistence.rs Simplify the SerializableItem::cleanup implementation (#29567) 2025-04-28 22:15:24 +00:00
searchable.rs chore: Bump Rust edition to 2024 (#27800) 2025-03-31 20:55:27 +02:00
shared_screen.rs Add searchable global tab switcher (#28047) 2025-04-28 09:21:27 +00:00
status_bar.rs Eliminate GPUI View, ViewContext, and WindowContext types (#22632) 2025-01-26 03:02:45 +00:00
tasks.rs debugger/tasks: Remove TaskType enum (#29208) 2025-04-26 01:44:56 +02:00
theme_preview.rs Add searchable global tab switcher (#28047) 2025-04-28 09:21:27 +00:00
toast_layer.rs chore: Bump Rust edition to 2024 (#27800) 2025-03-31 20:55:27 +02:00
toolbar.rs Allow buffer search in project search (#23819) 2025-01-31 00:13:46 -07:00
workspace.rs debugger: Fix bug where active debug line highlights weren't cleared (#29562) 2025-04-29 15:15:45 +00:00
workspace_settings.rs VSCode Settings import (#29018) 2025-04-23 20:54:09 +00:00