This commit is contained in:
Johannes Rieken
2020-08-21 10:10:23 +02:00
parent f805c84b1b
commit 7b33afc932

View File

@@ -492,11 +492,11 @@ export class ExtHostNotebookDocument extends Disposable implements vscode.Notebo
});
}
getCell(cellHandle: number) {
getCell(cellHandle: number): ExtHostCell | undefined {
return this.cells.find(cell => cell.handle === cellHandle);
}
getCell2(cellUri: UriComponents) {
getCell2(cellUri: UriComponents): ExtHostCell | undefined {
return this.cells.find(cell => cell.uri.fragment === cellUri.fragment);
}
}