fix folding test
This commit is contained in:
parent
00ebb80f87
commit
ea430330ba
1 changed files with 1 additions and 1 deletions
|
|
@ -285,7 +285,7 @@ function Folding() {
|
|||
|
||||
// --- Some checking ---
|
||||
if (!(startRow < endRow ||
|
||||
startRow == endRow && startColumn < endColumn - 2))
|
||||
startRow == endRow && startColumn <= endColumn - 2))
|
||||
throw new Error("The range has to be at least 2 characters width");
|
||||
|
||||
var startFold = this.getFoldAt(startRow, startColumn, 1);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue