diff --git a/lib/ace/mode/folding/cstyle.js b/lib/ace/mode/folding/cstyle.js index f5f6a0de..caeb606a 100644 --- a/lib/ace/mode/folding/cstyle.js +++ b/lib/ace/mode/folding/cstyle.js @@ -175,7 +175,6 @@ oop.inherits(FoldMode, BaseFoldMode); var endRow = row; if (endRow > startRow) { - var endColumn = line.search(/\S/); return new Range(startRow, startColumn, endRow, line.length); } };