class: Method
authorStefan Vogel <sv@exept.de>
Sat, 10 Aug 2013 13:22:40 +0200
changeset 15614 70bf14a15a59
parent 15613 f3247f1af412
child 15615 f67e9f5cd22a
class: Method changed: #sourceChunkFromStream: use #position/#position: instead of #positionXBased
Method.st
--- a/Method.st	Sat Aug 10 13:15:37 2013 +0200
+++ b/Method.st	Sat Aug 10 13:22:40 2013 +0200
@@ -2210,7 +2210,7 @@
     PositionError handle:[:ex |
         ^ nil
     ] do:[
-        aStream position1Based:(sourcePosition ? 1) abs.
+        aStream position:(sourcePosition ? 1) abs - 1.
     ].
     ^ aStream nextChunk.
 !
@@ -3788,11 +3788,11 @@
 !Method class methodsFor:'documentation'!
 
 version
-    ^ '$Header: /cvs/stx/stx/libbasic/Method.st,v 1.421 2013-07-30 13:55:40 cg Exp $'
+    ^ '$Header: /cvs/stx/stx/libbasic/Method.st,v 1.422 2013-08-10 11:22:40 stefan Exp $'
 !
 
 version_CVS
-    ^ '$Header: /cvs/stx/stx/libbasic/Method.st,v 1.421 2013-07-30 13:55:40 cg Exp $'
+    ^ '$Header: /cvs/stx/stx/libbasic/Method.st,v 1.422 2013-08-10 11:22:40 stefan Exp $'
 !
 
 version_SVN