[Newbies] Omnibrowser, italic Traits' method names

Robert Krahn robert.krahn at student.hpi.uni-potsdam.de
Sat Jun 23 18:49:44 UTC 2007


Hello Juraj,

the reason why your code doesn't work is located in  
OBClassSortFilter>>displayString:forParent:child: . This filter is  
evaluated after the OBTraitColorFilter. The string which is passed to  
this method is your created Text. But in this method a new String  
(which is a ByteString) is constructed. There your text attribute is  
lost.

If I have some time later on I will look for a workaround.

Regards
Robert


More information about the Beginners mailing list