mirror of
https://github.com/atom/atom.git
synced 2026-04-28 03:01:47 -04:00
Merge PR #9642 (Autoscroll after consolidating selections)
This commit is contained in:
@@ -2469,6 +2469,7 @@ class TextEditor extends Model
|
||||
selections = @getSelections()
|
||||
if selections.length > 1
|
||||
selection.destroy() for selection in selections[1...(selections.length)]
|
||||
selections[0].autoscroll(center: true)
|
||||
true
|
||||
else
|
||||
false
|
||||
|
||||
Reference in New Issue
Block a user