Skip to content
This repository was archived by the owner on Apr 16, 2026. It is now read-only.

Commit 17a9de9

Browse files
committed
Set forceUpdate flag in refresh method
Closes #2431
1 parent 91e02be commit 17a9de9

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

lib/codemirror.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4214,6 +4214,7 @@
42144214
refresh: methodOp(function() {
42154215
var oldHeight = this.display.cachedTextHeight;
42164216
regChange(this);
4217+
this.curOp.forceUpdate = true;
42174218
clearCaches(this);
42184219
this.scrollTo(this.doc.scrollLeft, this.doc.scrollTop);
42194220
updateGutterSpace(this);

0 commit comments

Comments
 (0)