(document: TextDocument)
| 8 | * given cell |
| 9 | */ |
| 10 | export function getNotebookFromCellDocument(document: TextDocument) { |
| 11 | return (document as any).notebook as NotebookDocument | undefined; |
| 12 | } |
| 13 | |
| 14 | /** |
| 15 | * Returns the index of the cell corresponding to the given document in the |