Another codemirror fix.

This commit is contained in:
Bridger Maxwell
2012-03-28 00:56:44 -07:00
parent 32384c8eb9
commit 3c015bb0a9

View File

@@ -753,6 +753,8 @@ var CodeMirror = (function() {
if (line.widgetFunction) {
var guess = line.widgetFunction.size(line.text).height / textHeight();
if (guess != line.height) updateLineHeight(line, guess);
} else if (line.height != 1) {
updateLineHeight(line, 1);
}
});
if (recomputeMaxLength) {