#REFACTORING by cg
class: SelectionInListView
changed:
#dragAutoScroll: (send #isLineFullyVisible: instead of #lineIsFullyVisible:)
#makeSelectionVisible (send #isLineFullyVisible: instead of #lineIsFullyVisible:)
--- a/SelectionInListView.st Sat Jul 20 07:52:02 2019 +0200
+++ b/SelectionInListView.st Sat Jul 20 07:52:30 2019 +0200
@@ -1949,7 +1949,7 @@
] ifFalse:[
scrollUp := false.
absLnNr < self size ifFalse:[ ^ false ].
- (self lineIsFullyVisible: absLnNr + 1) ifTrue:[ ^ false ].
+ (self isLineFullyVisible: absLnNr + 1) ifTrue:[ ^ false ].
dist := height-y.
].
aDropContext contentsWillChange.
@@ -1970,7 +1970,7 @@
^ true
- "Modified: / 15-06-2018 / 02:26:02 / Claus Gittinger"
+ "Modified: / 20-07-2019 / 07:51:03 / Claus Gittinger"
!
dropSource
@@ -3760,7 +3760,7 @@
selection isEmpty ifTrue:[^ self].
"/ don't move, if any in the selection isVisible
selection do:[:aSelectedLine |
- (self lineIsFullyVisible:aSelectedLine) ifTrue:[
+ (self isLineFullyVisible:aSelectedLine) ifTrue:[
^ self
]
].
@@ -3771,7 +3771,8 @@
self makeLineVisible:line
]
- "Modified: / 24.2.2000 / 17:48:00 / cg"
+ "Modified: / 24-02-2000 / 17:48:00 / cg"
+ "Modified: / 20-07-2019 / 07:51:08 / Claus Gittinger"
!
nextAfterSelection