Fix run indicators with expanded diff hunks (#23758)
Fix runnable positioning when diff hunks are altered. Release Notes: - N/A
This commit is contained in:
parent
ee5f270f3f
commit
7deafdafae
2 changed files with 14 additions and 6 deletions
|
@ -13381,6 +13381,9 @@ impl Editor {
|
|||
|
||||
cx.emit(EditorEvent::Reparsed(*buffer_id));
|
||||
}
|
||||
multi_buffer::Event::DiffHunksToggled => {
|
||||
self.tasks_update_task = Some(self.refresh_runnables(window, cx));
|
||||
}
|
||||
multi_buffer::Event::LanguageChanged(buffer_id) => {
|
||||
linked_editing_ranges::refresh_linked_ranges(self, window, cx);
|
||||
cx.emit(EditorEvent::Reparsed(*buffer_id));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue