Remove Jump internal action

This commit is contained in:
Antonio Scandurra 2023-04-28 14:02:44 +02:00
parent 3763b985e3
commit 83436213ad
6 changed files with 54 additions and 41 deletions

View file

@ -551,6 +551,11 @@ impl Item for ProjectDiagnosticsEditor {
false
}
fn added_to_workspace(&mut self, workspace: &mut Workspace, cx: &mut ViewContext<Self>) {
self.editor
.update(cx, |editor, cx| editor.added_to_workspace(workspace, cx));
}
fn navigate(&mut self, data: Box<dyn Any>, cx: &mut ViewContext<Self>) -> bool {
self.editor
.update(cx, |editor, cx| editor.navigate(data, cx))