This commit is contained in:
nightwing 2015-01-19 01:13:05 +04:00
commit 847bfa4bfe
2 changed files with 2 additions and 2 deletions

View file

@ -415,7 +415,7 @@ exports.commands = [{
readOnly: true
}, {
name: "passKeysToBrowser",
bindKey: bindKey("null", "null"),
bindKey: bindKey(null, null),
exec: function() {},
passEvent: true,
readOnly: true

View file

@ -794,7 +794,7 @@ function Folding() {
this.foldAll(startRow, endRow, options.all ? 10000 : 0);
} else if (options.children) {
endRow = range ? range.end.row : this.getLength();
this.foldAll(row + 1, range.end.row, options.all ? 10000 : 0);
this.foldAll(row + 1, endRow, options.all ? 10000 : 0);
} else if (range) {
if (options.all)
range.collapseChildren = 10000;