mirror of
https://github.com/atom/atom.git
synced 2026-02-03 19:25:06 -05:00
🐛 Autoscroll to cursor after clearing multi-cursor selection.
This commit is contained in:
@@ -2445,6 +2445,7 @@ class TextEditor extends Model
|
||||
selections = @getSelections()
|
||||
if selections.length > 1
|
||||
selection.destroy() for selection in selections[1...(selections.length)]
|
||||
selections[0].autoscroll()
|
||||
true
|
||||
else
|
||||
false
|
||||
|
||||
Reference in New Issue
Block a user