Get diagnostics view almost building in the zed2 world
Co-Authored-By: Nathan Sobo <nathan@zed.dev>
This commit is contained in:
parent
96f0257fb3
commit
f4eb219c75
22 changed files with 2251 additions and 91 deletions
|
@ -193,10 +193,11 @@ impl ProjectPanel {
|
|||
let filename_editor = cx.build_view(|cx| Editor::single_line(cx));
|
||||
|
||||
cx.subscribe(&filename_editor, |this, _, event, cx| match event {
|
||||
editor::Event::BufferEdited | editor::Event::SelectionsChanged { .. } => {
|
||||
editor::EditorEvent::BufferEdited
|
||||
| editor::EditorEvent::SelectionsChanged { .. } => {
|
||||
this.autoscroll(cx);
|
||||
}
|
||||
editor::Event::Blurred => {
|
||||
editor::EditorEvent::Blurred => {
|
||||
if this
|
||||
.edit_state
|
||||
.as_ref()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue