#DOCUMENTATION by mawalch
class: SequenceableCollection
comment/format in: #replaceFrom:to:with:startingAt:
--- a/SequenceableCollection.st Mon May 29 15:42:32 2017 +0200
+++ b/SequenceableCollection.st Mon May 29 16:16:08 2017 +0200
@@ -1,5 +1,3 @@
-"{ Encoding: utf8 }"
-
"
COPYRIGHT (c) 1989 by Claus Gittinger
All Rights Reserved
@@ -434,6 +432,7 @@
^ self == SequenceableCollection
! !
+
!SequenceableCollection methodsFor:'Compatibility-Squeak'!
allButFirst
@@ -746,6 +745,7 @@
^ self replaceFrom:start to:stop with:anArray startingAt:repStart
! !
+
!SequenceableCollection methodsFor:'accessing'!
after:anObject
@@ -6720,7 +6720,7 @@
end "{ Class: SmallInteger }" |
replacementCollection == self ifTrue:[
- repStartIndex == startIndex ifTrue:[ "noting to copy" ^ self ].
+ repStartIndex == startIndex ifTrue:[ "nothing to copy" ^ self ].
"beware the overlapping copy"
(repStartIndex < startIndex) ifTrue:[
@@ -6770,6 +6770,7 @@
"
"Modified: / 08-05-2012 / 13:23:51 / cg"
+ "Modified (format): / 29-05-2017 / 16:12:44 / mawalch"
!
replaceFrom:startIndex with:replacementCollection
@@ -8042,6 +8043,7 @@
"Created: 14.2.1997 / 16:13:03 / cg"
! !
+
!SequenceableCollection methodsFor:'searching'!
detect:aBlock startingAt:startIndex