Doing some small tiedy up. Unstructured Code Folding should be done.

This commit is contained in:
Julian Viereck 2011-04-28 21:14:01 +02:00
commit 2c9e4f7476
4 changed files with 53 additions and 95 deletions

View file

@ -267,22 +267,6 @@ function FoldLine(foldData, folds) {
column: this.end.column + idx
};
}
// this.positionToIdx = function(pos) {
// var row = pos.row;
// var column = pos.column;
// var idx = 0;
//
// this.walk(function(placeholder, row, column, lastColumn) {
// if (placeholder
// var range = new Range(row, lastColumn, row, column);
// var cmp = range.compareEnd(row, column);
//
// if (cmp == 0) {
// idx +=
// }
// });
// }
}).call(FoldLine.prototype);
exports.FoldLine = FoldLine;