mirror of
https://github.com/atom/atom.git
synced 2026-02-12 15:45:23 -05:00
bug fix: go through the selections in reverse order
This commit is contained in:
@@ -886,6 +886,7 @@ class TextEditor extends Model
|
||||
moveLineDown: ->
|
||||
selections = @getSelectedBufferRanges()
|
||||
selections.sort (a, b) -> a.compare(b)
|
||||
selections = selections.reverse()
|
||||
|
||||
@transact =>
|
||||
newSelectionRanges = []
|
||||
|
||||
Reference in New Issue
Block a user