mirror of
https://github.com/atom/atom.git
synced 2026-02-12 15:45:23 -05:00
bug that causes moveLineUp to move the wrong selections
This commit is contained in:
@@ -831,10 +831,6 @@ class TextEditor extends Model
|
||||
selection = selections.shift()
|
||||
selectionsToMove = [selection]
|
||||
|
||||
while selection.end.row is selections[0]?.start.row
|
||||
selection = selections.shift()
|
||||
selectionsToMove.push(selection)
|
||||
|
||||
# Compute the range spanned by all these selections...
|
||||
linesRangeStart = [selection.start.row, 0]
|
||||
if selection.end.row > selection.start.row and selection.end.column is 0
|
||||
|
||||
Reference in New Issue
Block a user