Fix bug in TextLayer.updateLines due to FoldLine refactoring
This commit is contained in:
parent
a12f83c3d9
commit
3e7567b521
1 changed files with 1 additions and 4 deletions
|
|
@ -191,10 +191,7 @@ var Text = function(parentEl) {
|
||||||
|
|
||||||
for (var row = config.firstRow; row < first; row++) {
|
for (var row = config.firstRow; row < first; row++) {
|
||||||
lineElementsIdx ++;
|
lineElementsIdx ++;
|
||||||
if (this.session.isRowFolded(row)) {
|
row = this.session.getRowFoldEnd(row);
|
||||||
var fold = this.session.getRowLastFold(row);
|
|
||||||
row = fold.end.row;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
for (var i=first; i<=last; i++) {
|
for (var i=first; i<=last; i++) {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue