Update visible suggestion if edit occurs outside the current editor
This commit is contained in:
parent
6e821eea4b
commit
dcd8bdfc88
2 changed files with 32 additions and 0 deletions
|
@ -6411,6 +6411,9 @@ impl Editor {
|
|||
multi_buffer::Event::Edited => {
|
||||
self.refresh_active_diagnostics(cx);
|
||||
self.refresh_code_actions(cx);
|
||||
if self.has_active_copilot_suggestion(cx) {
|
||||
self.update_visible_copilot_suggestion(cx);
|
||||
}
|
||||
cx.emit(Event::BufferEdited);
|
||||
}
|
||||
multi_buffer::Event::ExcerptsAdded {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue