Squeak Class Documentation category index | class index  
 
TextEmphasis
  category: Collections-Text
  superclass: TextAttribute
  subclasses:

A TextEmphasis, encodes a characteristic applicable to all fonts. The encoding is as follows:
1 bold
2 itallic
4 underlined
8 narrow
16 struck out

instance methods
  as yet unclassified
  =
dominatedByCmd0
dominates:
emphasisCode
emphasisCode:
emphasizeScanner:
printOn:
set
turnOff
writeScanOn:

class methods
  as yet unclassified
  bold
italic
narrow
normal
struckOut
underlined

instance methods
  as yet unclassified top  
 

=

Answer whether the receiver and the argument represent the same
object. If = is redefined in any subclass, consider also redefining the
message hash.


 

dominatedByCmd0

Cmd-0 should turn off emphasis


 

dominates:

Subclasses may override condense multiple attributes


 

emphasisCode

Subclasses may override to add bold, italic, etc


 

emphasisCode:


 

emphasizeScanner:

Set the emphasist for text scanning


 

printOn:

Append to the argument, aStream, a sequence of characters that
identifies the receiver.


 

set

Respond true to include this attribute (as opposed to, eg, a bold
emphasizer that is clearing the property


 

turnOff


 

writeScanOn:


class methods
  as yet unclassified top  
 

bold


 

italic


 

narrow


 

normal


 

struckOut


 

underlined