mirror of
https://github.com/microsoft/vscode.git
synced 2026-04-26 19:44:25 +01:00
Clarify editor focus related methods
This commit is contained in:
@@ -244,7 +244,7 @@ class MainThreadDocumentAndEditorStateComputer {
|
||||
) {
|
||||
const apiEditor = new TextEditorSnapshot(editor);
|
||||
editors.set(apiEditor.id, apiEditor);
|
||||
if (editor.isFocused()) {
|
||||
if (editor.hasTextFocus()) {
|
||||
activeEditor = apiEditor.id;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user