EditField.st
branchjv
changeset 5738 9498dfe97f83
parent 5649 6f57a64ccaa1
parent 5725 36a040e8555b
child 5808 ed5f9b2098ea
equal deleted inserted replaced
5737:98bc0782ffa1 5738:9498dfe97f83
  2208     (s isEmptyOrNil  
  2208     (s isEmptyOrNil  
  2209     and:[ (emptyText := self emptyFieldReplacementText) notNil  
  2209     and:[ (emptyText := self emptyFieldReplacementText) notNil  
  2210     and:[ self hasFocus not 
  2210     and:[ self hasFocus not 
  2211     and:[ visLineNr == 1 ]]])
  2211     and:[ visLineNr == 1 ]]])
  2212     ifTrue:[
  2212     ifTrue:[
  2213         ^ emptyText allItalic colorizeAllWith:Color lightGray.
  2213         ^ emptyText allItalic withColor:Color lightGray.
  2214     ].
  2214     ].
  2215 
  2215 
  2216     ^ s
  2216     ^ s
  2217 
  2217 
  2218     "Modified: 6.9.1995 / 12:25:06 / claus"
  2218     "Modified: 6.9.1995 / 12:25:06 / claus"