remove attachedEditors.

This commit is contained in:
rebornix
2021-02-17 21:28:06 -08:00
parent bcc49ca4b6
commit e8836805dc
2 changed files with 0 additions and 8 deletions

View File

@@ -759,13 +759,6 @@ export class ExtHostNotebookController implements ExtHostNotebookShape, ExtHostN
this._documents.get(uri)?.dispose();
this._documents.set(uri, document);
// create editor if populated
if (modelData.attachedEditor) {
this._createExtHostEditor(document, modelData.attachedEditor.id, modelData.attachedEditor.selections, modelData.attachedEditor.visibleRanges.map(typeConverters.NotebookCellRange.to));
editorChanged = true;
}
this._documentsAndEditors.$acceptDocumentsAndEditorsDelta({ addedDocuments: addedCellDocuments });
this._onDidOpenNotebookDocument.fire(document.notebookDocument);