CharacterArray.st
branchjv
changeset 25417 fda845cb1c37
parent 25416 c9cd91278d66
child 25459 af23296a8674
equal deleted inserted replaced
25416:c9cd91278d66 25417:fda845cb1c37
  6685     "
  6685     "
  6686 
  6686 
  6687     "Modified (comment): / 14-07-2020 / 20:15:36 / cg"
  6687     "Modified (comment): / 14-07-2020 / 20:15:36 / cg"
  6688 ! !
  6688 ! !
  6689 
  6689 
       
  6690 
  6690 !CharacterArray methodsFor:'padded copying'!
  6691 !CharacterArray methodsFor:'padded copying'!
  6691 
  6692 
  6692 centerPaddedTo:newSize
  6693 centerPaddedTo:newSize
  6693      "return a new string consisting of the receiver's characters,
  6694      "return a new string consisting of the receiver's characters,
  6694       plus spaces up to length and center the receiver's characters in
  6695       plus spaces up to length and center the receiver's characters in
  7463     "
  7464     "
  7464 !
  7465 !
  7465 
  7466 
  7466 defaultElement
  7467 defaultElement
  7467     ^ Character space
  7468     ^ Character space
       
  7469 !
       
  7470 
       
  7471 emphasisAtPoint:aPoint on:aGCOrView
       
  7472     "return the emphasis at a given point, or nil if there is none"
       
  7473 
       
  7474     <resource: #obsolete>
       
  7475     ^ self emphasisAtX:aPoint x on:aGCOrView
  7468 !
  7476 !
  7469 
  7477 
  7470 encoding
  7478 encoding
  7471     "return the strings encoding, as a symbol.
  7479     "return the strings encoding, as a symbol.
  7472      Here, by default, we assume unicode-encoding.
  7480      Here, by default, we assume unicode-encoding.