Refresh copilot suggestions when undoing/redoing

This commit is contained in:
Antonio Scandurra 2023-04-05 10:27:19 +02:00
parent 399451b676
commit 7a7dc95611

View file

@ -3991,6 +3991,7 @@ impl Editor {
}
self.request_autoscroll(Autoscroll::fit(), cx);
self.unmark_text(cx);
self.refresh_copilot_suggestions(cx);
cx.emit(Event::Edited);
}
}
@ -4005,6 +4006,7 @@ impl Editor {
}
self.request_autoscroll(Autoscroll::fit(), cx);
self.unmark_text(cx);
self.refresh_copilot_suggestions(cx);
cx.emit(Event::Edited);
}
}