Skip to content

Commit c4b2bba

Browse files
authored
Clear cached hash of text model when model changes (microsoft#226905)
1 parent 28bac81 commit c4b2bba

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/vs/workbench/contrib/notebook/common/model/notebookCellTextModel.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -163,6 +163,7 @@ export class NotebookCellTextModel extends Disposable implements ICell {
163163
this._versionId = this._textModel.getVersionId();
164164
this._alternativeId = this._textModel.getAlternativeVersionId();
165165
}
166+
this._textBufferHash = null;
166167
this._onDidChangeContent.fire('content');
167168
}));
168169

0 commit comments

Comments
 (0)