|
Re: Omnibrowser, italic Traits' method names: msg#00090lang.smalltalk.squeak.beginners
Hello Robert, Thank you! I am playing with OB and I tried to make a filter which should display Traits' names with bold text. But it doesn't work. It displays prefix '(t) ' but nothing more. I have no idea where is the mistake. Do you have any idea? I can file out the filter class, if you wish. displayString: aString forNode: aNode (aNode isKindOf: OBClassNode) ifFalse: [^ aString]. ^ ((aNode theClass respondsTo: #isTrait) and: [ aNode theClass isTrait ]) ifTrue: [('(t) ', aString) asText addAttribute: TextEmphasis bold ] ifFalse: ['(c) ', aString]. Thank you in advance, Juraj On 23.6.2007, at 18:32, Robert Krahn wrote: Hello Juraj,
|
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | SampleCode-ImageViewer, Wade Scholine |
|---|---|
| Next by Date: | Re: Omnibrowser, italic Traits' method names, Robert Krahn |
| Previous by Thread: | Re: Omnibrowser, italic Traits' method names, Robert Krahn |
| Next by Thread: | Re: Omnibrowser, italic Traits' method names, Robert Krahn |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
| News | FAQ | advertise |