mirror of
https://github.com/atom/atom.git
synced 2026-02-14 08:35:11 -05:00
Always mutate selections in order
This commit is contained in:
@@ -843,7 +843,7 @@ class TextEditor extends Model
|
||||
mutateSelectedText: (fn) ->
|
||||
@mergeIntersectingSelections =>
|
||||
@transact =>
|
||||
fn(selection, index) for selection, index in @getSelections()
|
||||
fn(selection, index) for selection, index in @getSelectionsOrderedByBufferPosition()
|
||||
|
||||
# Move lines intersection the most recent selection up by one row in screen
|
||||
# coordinates.
|
||||
|
||||
Reference in New Issue
Block a user