# HG changeset patch # User Claus Gittinger # Date 829398014 -7200 # Node ID 6b6e228d22e04dd4b0ccb7cad2b8c7a498325f88 # Parent a8ac7ccb76dbc2cf3e15f63c882553ba8dad3e41 commentary diff -r a8ac7ccb76db -r 6b6e228d22e0 ByteArray.st --- a/ByteArray.st Sat Apr 13 14:18:56 1996 +0200 +++ b/ByteArray.st Sat Apr 13 14:20:14 1996 +0200 @@ -1365,12 +1365,15 @@ ! replaceFrom:start to:stop with:aCollection startingAt:repStart - "replace elements from another collection" + "replace elements in the receiver between index start and stop, + with elements taken from replacementCollection starting at repStart." (aCollection class == self class) ifTrue:[ - ^ self replaceBytesFrom:start to:stop with:aCollection startingAt:repStart + ^ self replaceBytesFrom:start to:stop with:aCollection startingAt:repStart ]. ^ super replaceFrom:start to:stop with:aCollection startingAt:repStart + + "Modified: 13.4.1996 / 12:16:46 / cg" ! ! !ByteArray methodsFor:'image manipulation support'! @@ -2098,5 +2101,5 @@ !ByteArray class methodsFor:'documentation'! version - ^ '$Header: /cvs/stx/stx/libbasic/ByteArray.st,v 1.50 1996-04-09 20:51:54 cg Exp $' + ^ '$Header: /cvs/stx/stx/libbasic/ByteArray.st,v 1.51 1996-04-13 12:20:14 cg Exp $' ! !