First display of NSTextView not shown with attributes?
First display of NSTextView not shown with attributes?
- Subject: First display of NSTextView not shown with attributes?
- From: Magnus Strand <email@hidden>
- Date: Tue, 01 Mar 2005 14:28:41 +0100
Hi!
I have an NSForm with text fields.
I have made a subclass of NSFormCell called MyFormCell.
In MyFormCell the method textDidChange I make the text red when it
exceeds a certain length.
I have made a MyFormatter class (subclass of NSFormatter) that also
checks width and makes
text that is not under editing red if its too wide.
My problem is that if the user clicks a text field and it gets focus it
is not shown as red
until the user enter characters even though MyFormatter was called
directly and added red text attribute.
--
*Regards,
Magnus Strand*
_______________________________________________
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