Start asking Editors to update git after a debounced delay
This commit is contained in:
parent
2a14af4cde
commit
6fa2e62fa4
2 changed files with 115 additions and 26 deletions
|
@ -478,6 +478,15 @@ impl Item for Editor {
|
|||
})
|
||||
}
|
||||
|
||||
fn update_git(
|
||||
&mut self,
|
||||
_project: ModelHandle<Project>,
|
||||
_cx: &mut ViewContext<Self>,
|
||||
) -> Task<Result<()>> {
|
||||
println!("Editor::update_git");
|
||||
Task::ready(Ok(()))
|
||||
}
|
||||
|
||||
fn to_item_events(event: &Self::Event) -> Vec<workspace::ItemEvent> {
|
||||
let mut result = Vec::new();
|
||||
match event {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue