cleanup
This commit is contained in:
parent
135b9e5baf
commit
847bfa4bfe
2 changed files with 2 additions and 2 deletions
|
|
@ -415,7 +415,7 @@ exports.commands = [{
|
||||||
readOnly: true
|
readOnly: true
|
||||||
}, {
|
}, {
|
||||||
name: "passKeysToBrowser",
|
name: "passKeysToBrowser",
|
||||||
bindKey: bindKey("null", "null"),
|
bindKey: bindKey(null, null),
|
||||||
exec: function() {},
|
exec: function() {},
|
||||||
passEvent: true,
|
passEvent: true,
|
||||||
readOnly: true
|
readOnly: true
|
||||||
|
|
|
||||||
|
|
@ -794,7 +794,7 @@ function Folding() {
|
||||||
this.foldAll(startRow, endRow, options.all ? 10000 : 0);
|
this.foldAll(startRow, endRow, options.all ? 10000 : 0);
|
||||||
} else if (options.children) {
|
} else if (options.children) {
|
||||||
endRow = range ? range.end.row : this.getLength();
|
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) {
|
} else if (range) {
|
||||||
if (options.all)
|
if (options.all)
|
||||||
range.collapseChildren = 10000;
|
range.collapseChildren = 10000;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue