Uhh actually commit fix

This commit is contained in:
Garen Torikian 2012-12-15 12:17:32 -08:00 committed by nightwing
commit 9efccbb776

View file

@ -214,7 +214,7 @@ var ElasticTabstops = function(editor, session) {
if (difference > 0) {
// put the spaces after the tab and then delete the tab, so any insertion
// points behave as expected
this.$session.getDocument().insertInLine({row: row, column: it + 1}, Array(difference).join(" ") + "\t");
this.$session.getDocument().insertInLine({row: row, column: it + 1}, Array(difference + 1).join(" ") + "\t");
this.$session.getDocument().removeInLine(row, it, it + 1);
bias += difference;