Add cell run state to the cell viewmodel, and make NotebookEditor in charge of updating it

This commit is contained in:
Rob Lourens
2020-03-20 10:17:32 -07:00
parent 88b1952cc4
commit 815c03e31a
13 changed files with 127 additions and 101 deletions

View File

@@ -271,6 +271,10 @@ export class MainThreadNotebookController implements IMainNotebookController {
}
}
async executeNotebookCell(uri: URI, handle: number): Promise<void> {
return this._proxy.$executeNotebook(this._viewType, uri, handle);
}
async destoryNotebookDocument(notebook: INotebookTextModel): Promise<void> {
let document = this._mapping.get(URI.from(notebook.uri).toString());