Object.st
changeset 24659 c42004494020
parent 24624 d43c1cf3a830
child 24692 21348277bc96
equal deleted inserted replaced
24658:60a039a6f137 24659:c42004494020
  4026 
  4026 
  4027     ^ aGC deviceFont heightOf:(self displayString)
  4027     ^ aGC deviceFont heightOf:(self displayString)
  4028 !
  4028 !
  4029 
  4029 
  4030 printStringForPrintIt
  4030 printStringForPrintIt
  4031     "for compatibility (used to be displayString), now the printIt menu function now sends this message"
  4031     "for compatibility (used to be displayString), 
       
  4032      the printIt menu function now sends this message, 
       
  4033      allowing for more fine-grain control over what is printed."
  4032 
  4034 
  4033     ^ self displayString
  4035     ^ self displayString
  4034 
  4036 
  4035     "
  4037     "
  4036      #(1 2 3) printString
  4038      #(1 2 3) printString
  4037      #(1 2 3) printStringForPrintIt
  4039      #(1 2 3) printStringForPrintIt
  4038      #(1 2 3) storeString
  4040      #(1 2 3) storeString
       
  4041 
       
  4042      'hello' printString       
       
  4043      'hello' printStringForPrintIt  
       
  4044      'hello' storeString           
  4039     "
  4045     "
  4040 !
  4046 !
  4041 
  4047 
  4042 widthFrom:startIndex to:endIndex on:aGC
  4048 widthFrom:startIndex to:endIndex on:aGC
  4043     "return the width of the receiver, if it is to be displayed on aGC"
  4049     "return the width of the receiver, if it is to be displayed on aGC"