since we do incremental update, do not reset the handle pool.

This commit is contained in:
rebornix 2022-08-10 12:16:15 -07:00
parent bf5423e10d
commit 4185d526e9
No known key found for this signature in database
GPG key ID: 0299D52A1BBA52AB

View file

@ -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(