Run and Add Cell keybinding support (#3896)

- As part of this, fixed bug in the insertCell API where it didn't add to the end / failed if no cells existed
This commit is contained in:
Kevin Cunnane
2019-02-04 14:02:15 -08:00
committed by GitHub
parent 15929e8cf2
commit 2fce771214
12 changed files with 185 additions and 34 deletions

View File

@@ -1571,10 +1571,10 @@ declare module 'sqlops' {
* Kicks off execution of a cell. Thenable will resolve only once the full execution is completed.
*
*
* @param cell A cell in this notebook which should be executed
* @param cell An optional cell in this notebook which should be executed. If no cell is defined, it will run the active cell instead
* @return A promise that resolves with a value indicating if the cell was run or not.
*/
runCell(cell: NotebookCell): Thenable<boolean>;
runCell(cell?: NotebookCell): Thenable<boolean>;
}
export interface NotebookCell {