()
| 318 | } |
| 319 | |
| 320 | function formatCell() { |
| 321 | if (!channel) { |
| 322 | return; |
| 323 | } |
| 324 | setCellMode('formatting'); |
| 325 | channel.push('cell:format', { |
| 326 | cellId: cell.id, |
| 327 | }); |
| 328 | } |
| 329 | |
| 330 | async function onGetDefinitionContents(pos: number, cell: CodeCellType): Promise<string> { |
| 331 | return new Promise((resolve, reject) => { |
no test coverage detected