CharacterArray.st
changeset 6187 d4788adb7a8e
parent 6184 9ab957b61c52
child 6228 3b39832651c9
equal deleted inserted replaced
6186:c7752a949b7c 6187:d4788adb7a8e
  3856 !CharacterArray methodsFor:'emphasis'!
  3856 !CharacterArray methodsFor:'emphasis'!
  3857 
  3857 
  3858 allBold
  3858 allBold
  3859     "return a test object representing the receiver, but all boldified"
  3859     "return a test object representing the receiver, but all boldified"
  3860 
  3860 
       
  3861     Text isNil ifTrue:[^ self].
  3861     ^ self asText allBold
  3862     ^ self asText allBold
  3862 
  3863 
  3863     "
  3864     "
  3864      Transcript showCR:'hello' asText allBold
  3865      Transcript showCR:'hello' asText allBold
  3865      Transcript showCR:'hello' allBold
  3866      Transcript showCR:'hello' allBold
  3867 !
  3868 !
  3868 
  3869 
  3869 allItalic
  3870 allItalic
  3870     "return a test object representing the receiver, but all in italic"
  3871     "return a test object representing the receiver, but all in italic"
  3871 
  3872 
       
  3873     Text isNil ifTrue:[^ self].
  3872     ^ self asText allItalic
  3874     ^ self asText allItalic
  3873 
  3875 
  3874     "
  3876     "
  3875      Transcript showCR:'hello' asText allItalic
  3877      Transcript showCR:'hello' asText allItalic
  3876      Transcript showCR:'hello' allItalic
  3878      Transcript showCR:'hello' allItalic
  5996 ! !
  5998 ! !
  5997 
  5999 
  5998 !CharacterArray class methodsFor:'documentation'!
  6000 !CharacterArray class methodsFor:'documentation'!
  5999 
  6001 
  6000 version
  6002 version
  6001     ^ '$Header: /cvs/stx/stx/libbasic/CharacterArray.st,v 1.214 2001-11-13 18:51:14 cg Exp $'
  6003     ^ '$Header: /cvs/stx/stx/libbasic/CharacterArray.st,v 1.215 2001-11-15 08:52:43 cg Exp $'
  6002 ! !
  6004 ! !
  6003 CharacterArray initialize!
  6005 CharacterArray initialize!