Merge PR #9642 (Autoscroll after consolidating selections)

This commit is contained in:
Nathan Sobo
2016-02-29 18:38:33 -07:00
2 changed files with 28 additions and 5 deletions

View File

@@ -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