class: CharacterArray
authorClaus Gittinger <cg@exept.de>
Thu, 15 May 2014 09:59:16 +0200
changeset 16452 2c3e39ef6902
parent 16451 59f63673573d
child 16453 690e4afd2a5d
class: CharacterArray comment/format in: #expandPlaceholders:with:on:
CharacterArray.st
--- a/CharacterArray.st	Wed May 14 19:06:29 2014 +0200
+++ b/CharacterArray.st	Thu May 15 09:59:16 2014 +0200
@@ -283,7 +283,6 @@
     "Created: 3.8.1997 / 18:16:40 / cg"
 ! !
 
-
 !CharacterArray class methodsFor:'cleanup'!
 
 lowSpaceCleanup
@@ -327,7 +326,6 @@
     "
 ! !
 
-
 !CharacterArray class methodsFor:'pattern matching'!
 
 matchEscapeCharacter
@@ -726,7 +724,6 @@
 ! !
 
 
-
 !CharacterArray methodsFor:'Compatibility-ANSI'!
 
 addLineDelimiters
@@ -4110,8 +4107,6 @@
 ! !
 
 
-
-
 !CharacterArray methodsFor:'matching - glob expressions'!
 
 compoundMatch:aString
@@ -4795,7 +4790,6 @@
 ! !
 
 
-
 !CharacterArray methodsFor:'padded copying'!
 
 centerPaddedTo:newSize
@@ -5424,7 +5418,6 @@
     "Modified: 17.4.1997 / 12:50:23 / cg"
 ! !
 
-
 !CharacterArray methodsFor:'special string converting'!
 
 expandPlaceholders:escapeCharacter with:argArrayOrDictionary
@@ -5592,7 +5585,9 @@
         s cr.
         '%%(10) gives %(10) %<cr>%<tab>next line' expandPlaceholders:$% with:#(123) on:s.
         s cr.
-        '%test gives %1' expandPlaceholders:$% with:#(123) on:s.
+        '%%test gives %test' expandPlaceholders:$% with:#(123) on:s.
+        s cr.
+        '|%%<tab>|%%1|%%<cr>| gives |%<tab>|%1|%<cr>|' expandPlaceholders:$% with:#(foo) on:s.
      ]  
     "
 
@@ -6369,7 +6364,6 @@
     "
 ! !
 
-
 !CharacterArray methodsFor:'substring searching'!
 
 findRangeOfString:subString
@@ -6952,15 +6946,14 @@
     ^ aVisitor visitString:self with:aParameter
 ! !
 
-
 !CharacterArray class methodsFor:'documentation'!
 
 version
-    ^ '$Header: /cvs/stx/stx/libbasic/CharacterArray.st,v 1.530 2014-04-03 12:35:22 cg Exp $'
+    ^ '$Header: /cvs/stx/stx/libbasic/CharacterArray.st,v 1.531 2014-05-15 07:59:16 cg Exp $'
 !
 
 version_CVS
-    ^ '$Header: /cvs/stx/stx/libbasic/CharacterArray.st,v 1.530 2014-04-03 12:35:22 cg Exp $'
+    ^ '$Header: /cvs/stx/stx/libbasic/CharacterArray.st,v 1.531 2014-05-15 07:59:16 cg Exp $'
 ! !