🎨 Fix typo in moveLineUp comment

This commit is contained in:
abe33
2015-11-05 20:36:22 +01:00
parent a4c2c724d6
commit 5b192ea295

View File

@@ -866,8 +866,8 @@ class TextEditor extends Model
@transact groupingInterval, =>
fn(selection, index) for selection, index in @getSelectionsOrderedByBufferPosition()
# Move lines intersection the most recent selection or multiple selections up by one row in screen
# coordinates.
# Move lines intersecting the most recent selection or multiple selections
# up by one row in screen coordinates.
moveLineUp: ->
selections = @getSelectedBufferRanges()
selections.sort (a, b) -> a.compare(b)
@@ -951,8 +951,8 @@ class TextEditor extends Model
@autoIndentSelectedRows() if @shouldAutoIndent()
@scrollToBufferPosition([newSelectionRanges[0].start.row, 0])
# Move lines intersecting the most recent selection or muiltiple selections down by one row in screen
# coordinates.
# Move lines intersecting the most recent selection or muiltiple selections
# down by one row in screen coordinates.
moveLineDown: ->
selections = @getSelectedBufferRanges()
selections.sort (a, b) -> a.compare(b)