We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 562af66 commit 4a3ad9bCopy full SHA for 4a3ad9b
lib/codemirror.js
@@ -3130,7 +3130,7 @@ window.CodeMirror = (function() {
3130
if (width != null) this.display.wrapper.style.width = interpret(width);
3131
if (height != null) this.display.wrapper.style.height = interpret(height);
3132
if (this.options.lineWrapping)
3133
- cm.display.measureLineCache.length = cm.display.measureLineCachePos = 0;
+ this.display.measureLineCache.length = this.display.measureLineCachePos = 0;
3134
this.curOp.forceUpdate = true;
3135
}),
3136
0 commit comments