From 602a7efd5fc45f0859657705a723967c3e629204 Mon Sep 17 00:00:00 2001 From: sevin7676 Date: Mon, 24 Nov 2014 10:18:00 -0500 Subject: [PATCH] removed unused line the end of the range should be the end of the line as we don't want to see [//#endreigon] in our fold widget. --- lib/ace/mode/folding/cstyle.js | 1 - 1 file changed, 1 deletion(-) 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); } };