mirror of
https://github.com/zed-industries/zed.git
synced 2026-12-02 21:40:41 +01:00
Don't update active completion for editors that are not focused (#9904)
Release Notes: - N/A
This commit is contained in:
committed by
GitHub
parent
eaec04632a
commit
c33ee52046
@@ -764,6 +764,7 @@ mod tests {
|
||||
multibuffer
|
||||
});
|
||||
let editor = cx.add_window(|cx| Editor::for_multibuffer(multibuffer, None, cx));
|
||||
editor.update(cx, |editor, cx| editor.focus(cx)).unwrap();
|
||||
let copilot_provider = cx.new_model(|_| CopilotCompletionProvider::new(copilot));
|
||||
editor
|
||||
.update(cx, |editor, cx| {
|
||||
|
||||
Reference in New Issue
Block a user