Render breadcrumbs for diagnostics multi-buffer
This commit is contained in:
parent
abdfb5a451
commit
c7cc5bca02
1 changed files with 9 additions and 1 deletions
|
@ -34,7 +34,7 @@ use std::{
|
||||||
use util::TryFutureExt;
|
use util::TryFutureExt;
|
||||||
use workspace::{
|
use workspace::{
|
||||||
item::{Item, ItemEvent, ItemHandle},
|
item::{Item, ItemEvent, ItemHandle},
|
||||||
ItemNavHistory, Pane, Workspace,
|
ItemNavHistory, Pane, ToolbarItemLocation, Workspace,
|
||||||
};
|
};
|
||||||
|
|
||||||
actions!(diagnostics, [Deploy]);
|
actions!(diagnostics, [Deploy]);
|
||||||
|
@ -655,6 +655,14 @@ impl Item for ProjectDiagnosticsEditor {
|
||||||
Some("diagnostics")
|
Some("diagnostics")
|
||||||
}
|
}
|
||||||
|
|
||||||
|
fn breadcrumbs(&self, theme: &theme::Theme, cx: &AppContext) -> Option<Vec<ElementBox>> {
|
||||||
|
self.editor.breadcrumbs(theme, cx)
|
||||||
|
}
|
||||||
|
|
||||||
|
fn breadcrumb_location(&self) -> ToolbarItemLocation {
|
||||||
|
ToolbarItemLocation::PrimaryLeft { flex: None }
|
||||||
|
}
|
||||||
|
|
||||||
fn deserialize(
|
fn deserialize(
|
||||||
project: ModelHandle<Project>,
|
project: ModelHandle<Project>,
|
||||||
workspace: WeakViewHandle<Workspace>,
|
workspace: WeakViewHandle<Workspace>,
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue