NSTextView/NSTextField forgetting to wordwrap?
NSTextView/NSTextField forgetting to wordwrap?
- Subject: NSTextView/NSTextField forgetting to wordwrap?
- From: Chris Silverberg <email@hidden>
- Date: Tue, 13 Dec 2005 13:56:47 -0800
Hello everyone,
I have a pretty strange situation. Two separate applications same
author, but very little common code. In one application, I have a
window that contains an NSTextView that seems to (randomly) forget to
word wrap text. The text view is high enough for about 20 lines of
text, but typing will extend pass the right margin of the first line
and never wrap. In the second application, the same thing sometimes
happens to an NSTextField with it's word wrap attribute set in IB.
(and I never change that attribute in code!)
So, the common thing is the bug.... which happens randomly to myself
(and in some cases to customers.) But the fact that these are two
separate applications that don't share code, and they aren't even the
same type of control (albeit related), has me perplexed. Can anyone
think of anything that might cause an NSTextView to stop word
wrapping? I suspect there must be something I am doing that causes
this behavior, but I'm having trouble diagnosing what that might be.
Perhaps someone that has a good deal of insight into NSTextView will
be able to shed some light on this.
thanks,
Chris
_______________________________________________
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