From 283966dbb981813dc0ef071c2c9eec6a84aaed30 Mon Sep 17 00:00:00 2001 From: Nathan Sobo Date: Wed, 23 Apr 2014 12:41:56 -0600 Subject: [PATCH] Only autoscroll selections in the model when managing scroll position --- src/selection.coffee | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/selection.coffee b/src/selection.coffee index 711423ab4..04a7fae87 100644 --- a/src/selection.coffee +++ b/src/selection.coffee @@ -78,7 +78,7 @@ class Selection extends Model @modifySelection => @cursor.needsAutoscroll = false if @needsAutoscroll? @marker.setBufferRange(bufferRange, options) - @autoscroll() if @needsAutoscroll + @autoscroll() if @needsAutoscroll and @editor.manageScrollPosition # Public: Returns the starting and ending buffer rows the selection is # highlighting.