#BUGFIX by stefan
class: Text
added: #isSingleByteCollection
removed: #isByteCollection
--- 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"