fix folding test

This commit is contained in:
nightwing 2013-11-06 11:05:32 +04:00
commit ea430330ba

View file

@ -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);