shift click should add subfolds until document end if foldWidgetRange is null

This commit is contained in:
nightwing 2011-12-15 21:48:15 +04:00
commit 3f123b19a6

View file

@ -725,6 +725,8 @@ function Folding() {
if (addSubfolds)
this.foldAll(range.start.row + 1, range.end.row);
} else {
if (addSubfolds)
this.foldAll(row + 1, this.getLength());
e.target.className += " invalid"
}
};