Re: NSTextField in many colours
Re: NSTextField in many colours
- Subject: Re: NSTextField in many colours
- From: Matt Neuburg <email@hidden>
- Date: Sat, 23 Sep 2006 13:20:48 -0700
- Thread-topic: NSTextField in many colours
On Sat, 23 Sep 2006 18:44:18 +0200, "Gerriet M. Denkmann"
<email@hidden> said:
>I have an NSTextField where I do:
>[ textField setAttributedStringValue: stringInManyColours ];
>Works ok.
>
>1. When I select something in this NSTextField, the text turns to
>black. Not really a problem.
No? I'd sure object to that if it happened to me.
>
>But:
>2. From now on the text remains all black, even if it is set again
>with the stringInManyColours.
>This is not acceptable.
>
>So:
>What am I doing wrong?
Perhaps you have neglected to call setAllowsEditingTextAttributes:YES? m.
--
matt neuburg, phd = email@hidden, <http://www.tidbits.com/matt/>
A fool + a tool + an autorelease pool = cool!
AppleScript: the Definitive Guide - Second Edition!
<http://www.amazon.com/gp/product/0596102119>
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden