🎨 Fix bad indentation

This commit is contained in:
abe33
2015-10-11 18:15:22 +02:00
parent 09ffa8bec9
commit 9ee89a1f31

View File

@@ -923,8 +923,8 @@ class TextEditor extends Model
for selection in selectionsToMove
newSelectionRanges.push(selection.translate([insertDelta, 0]))
@setSelectedBufferRanges(newSelectionRanges, {autoscroll: false, preserveFolds: true})
@scrollToBufferPosition([newSelectionRanges[0].start.row - 1, 0])
@setSelectedBufferRanges(newSelectionRanges, {autoscroll: false, preserveFolds: true})
@scrollToBufferPosition([newSelectionRanges[0].start.row - 1, 0])
# Duplicate the most recent cursor's current line.
duplicateLines: ->