simpler storing of ExtHostNotebookEditor

This commit is contained in:
Johannes Rieken
2021-04-14 18:43:12 +02:00
parent 02f0f4a0c8
commit 9c0300872e
2 changed files with 34 additions and 33 deletions

View File

@@ -108,7 +108,7 @@ export class ExtHostNotebookEditor {
this._viewColumn = viewColumn;
}
get editor(): vscode.NotebookEditor {
get apiEditor(): vscode.NotebookEditor {
if (!this._editor) {
const that = this;
this._editor = {