mirror of
https://github.com/microsoft/vscode.git
synced 2026-04-29 13:03:42 +01:00
map handles to cellrange in UI.
This commit is contained in:
@@ -326,6 +326,10 @@ export class ExtHostNotebookDocument extends Disposable {
|
||||
this._emitter.emitCellMetadataChange(event);
|
||||
}
|
||||
|
||||
getCellFromIndex(index: number): ExtHostCell | undefined {
|
||||
return this._cells[index];
|
||||
}
|
||||
|
||||
getCell(cellHandle: number): ExtHostCell | undefined {
|
||||
return this._cells.find(cell => cell.handle === cellHandle);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user