Fix bug in TextLayer.updateLines due to FoldLine refactoring

This commit is contained in:
Julian Viereck 2011-04-23 22:01:22 +02:00
commit 3e7567b521

View file

@ -191,10 +191,7 @@ var Text = function(parentEl) {
for (var row = config.firstRow; row < first; row++) {
lineElementsIdx ++;
if (this.session.isRowFolded(row)) {
var fold = this.session.getRowLastFold(row);
row = fold.end.row;
}
row = this.session.getRowFoldEnd(row);
}
for (var i=first; i<=last; i++) {