Give the editor a handle to the project, not a weak handle to the workspace
Co-Authored-By: Nathan Sobo <nathan@zed.dev>
This commit is contained in:
parent
624dbc1d0e
commit
6731d92f60
10 changed files with 112 additions and 112 deletions
|
@ -148,7 +148,7 @@ impl ProjectDiagnosticsEditor {
|
|||
let mut editor = Editor::for_buffer(
|
||||
excerpts.clone(),
|
||||
build_settings.clone(),
|
||||
Some(workspace.clone()),
|
||||
Some(project.clone()),
|
||||
cx,
|
||||
);
|
||||
editor.set_vertical_scroll_margin(5, cx);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue