mirror of
https://github.com/Microsoft/vscode
synced 2024-09-19 18:48:00 +00:00
since we do incremental update, do not reset the handle pool.
This commit is contained in:
parent
bf5423e10d
commit
4185d526e9
|
@ -391,7 +391,6 @@ export class NotebookTextModel extends Disposable implements INotebookTextModel
|
|||
|
||||
reset(cells: ICellDto2[], metadata: NotebookDocumentMetadata, transientOptions: TransientOptions): void {
|
||||
this.transientOptions = transientOptions;
|
||||
this._cellhandlePool = 0;
|
||||
const edits = NotebookTextModel.computeEdits(this, cells);
|
||||
|
||||
this.applyEdits(
|
||||
|
|
Loading…
Reference in a new issue