#DOCUMENTATION by cg
authorClaus Gittinger <cg@exept.de>
Wed, 13 Jun 2018 22:58:56 +0200
changeset 6338 05cd9b440af9
parent 6337 2b13966b73f3
child 6339 1db7973c8ab2
#DOCUMENTATION by cg class: SelectionInListView changed: #dragAutoScroll: (send #scrollUpLines: instead of #scrollUp:, send #scrollDownLines: instead of #scrollDown:)
SelectionInListView.st
--- a/SelectionInListView.st	Wed Jun 13 22:57:36 2018 +0200
+++ b/SelectionInListView.st	Wed Jun 13 22:58:56 2018 +0200
@@ -1,3 +1,5 @@
+"{ Encoding: utf8 }"
+
 "
  COPYRIGHT (c) 1989 by Claus Gittinger
 	      All Rights Reserved
@@ -1927,8 +1929,9 @@
 
 dragAutoScroll:aDropContext
     "called by the DragAndDropManager to scroll during a drag/drop operation
-     if required (decided by the widget itself); 
-     If a scroll is done, return true otherwise false (used to restore the background)"
+     if required (decided by the widget itself). 
+     If a scroll was done, return true;
+     otherwise false (used to restore the background)"
 
     |point y dist visLnNr absLnNr nLines scrollUp|
 
@@ -1958,12 +1961,14 @@
     ].
 
     scrollUp ifTrue:[ 
-        self scrollUp:nLines 
+        self scrollUpLines:nLines 
     ] ifFalse:[ 
-        self scrollDown:nLines 
+        self scrollDownLines:nLines 
     ].
 
     ^ true
+
+    "Modified: / 13-06-2018 / 22:09:20 / Claus Gittinger"
 !
 
 dropSource