Re: NSTextField in many colours
Re: NSTextField in many colours
- Subject: Re: NSTextField in many colours
- From: Matt Neuburg <email@hidden>
- Date: Sun, 24 Sep 2006 10:04:59 -0700
- Thread-topic: NSTextField in many colours
On Sun, 24 Sep 2006 10:22:12 +0200, "Gerriet M. Denkmann"
<email@hidden> said:
>
>On 23 Sep 2006, at 22:20, Matt Neuburg wrote:
>
>> Perhaps you have neglected to call
>> setAllowsEditingTextAttributes:YES? m.
>
>Well, not so much neglected, but just not known about.
>
>But even now that I read the documentation in NSTextView, I would
>decide NOT to use it.
>
>The documentation says about "flag":
>"If YES, the user is permitted to change font attributes of the
>receiver‚s text; if flag is NO, the user isn‚t so permitted."
>My text-field is selectable, but not editable. So the flag should be
>NO. Shouldn't it?
>
>The documentation continuous:
>"You can change text attributes programmatically regardless of this
>setting."
>So, for a text field which is only set programmatically, this flag
>clearly does not matter at all.
This does come up from time to time, e.g.:
<http://www.cocoabuilder.com/archive/message/cocoa/2005/6/29/140454>
If you (rightly, in my view) regard this as a bug in the documentation,
please file it.
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