#BUGFIX by stefan
authorStefan Vogel <sv@exept.de>
Thu, 31 Aug 2017 14:54:32 +0200
changeset 4513 2c986c93c992
parent 4512 0d6157b7ce6e
child 4514 360a740542a7
#BUGFIX by stefan class: Text added: #isSingleByteCollection removed: #isByteCollection
Text.st
--- a/Text.st	Thu Aug 31 14:51:34 2017 +0200
+++ b/Text.st	Thu Aug 31 14:54:32 2017 +0200
@@ -1859,12 +1859,6 @@
     "Modified: 16.5.1996 / 11:25:12 / cg"
 !
 
-isByteCollection
-    ^ false
-
-    "Created: / 30-08-2017 / 23:33:39 / cg"
-!
-
 isPlainString
     "return true, if the receiver is a plain string - without attributes;
      false is returned here."
@@ -1872,6 +1866,18 @@
     ^ false
 !
 
+isSingleByteCollection
+    "return true, if the receiver has access methods for bytes;
+     i.e. #at: and #at:put: accesses a byte and are equivalent to #byteAt: and byteAt:put:
+     and #replaceFrom:to: is equivalent to #replaceBytesFrom:to:. 
+     false is returned here since #replaceBytesFrom:to: is not implemented in Text.
+      - the method is redefined from UninterpretedBytes."
+
+    ^ false
+
+    "Created: / 30-08-2017 / 23:33:39 / cg"
+!
+
 isText
     "return true if this is a Text object - always true here"