Closed pprice closed 7 years ago
Steps to Reproduce:
vscode.window.onDidChangeActiveTextEditor
Expected: onDidChangeActiveTextEditor should be raised the active vscode.TextEditor instance.
onDidChangeActiveTextEditor
vscode.TextEditor
Actual: onDidChangeActiveTextEditor is raised with undefined
undefined
Notes: Some other observations:
onDidOpenTextDocument
vscode.window.visibleTextEditors
1
0
For performance reasons we don't synchronise file that are over 5MB in size. Therefore no editor and document is created in the extension host. We do this to keep the extension host responsive.
Steps to Reproduce:
vscode.window.onDidChangeActiveTextEditor
Expected:
onDidChangeActiveTextEditor
should be raised the activevscode.TextEditor
instance.Actual:
onDidChangeActiveTextEditor
is raised withundefined
Notes: Some other observations:
onDidOpenTextDocument
is raisedvscode.window.visibleTextEditors
is expected to have a length of1
(one open visible document) but has a length of0