Mirroring TextModel.

This commit is contained in:
rebornix
2020-01-17 15:21:31 -08:00
parent 1062958878
commit 118b59a3ee
8 changed files with 118 additions and 17 deletions

View File

@@ -147,7 +147,13 @@ export class MainThreadNotebooks extends Disposable implements MainThreadNoteboo
let handle = await this._proxy.$resolveNotebook(viewType, uri);
if (handle !== undefined) {
return this._documents.get(handle);
const doc = this._documents.get(handle);
if (doc === undefined) {
console.log('resolve notebook from main but undefined');
}
return doc;
}
return;