Re: NSTextView Weirdness
Re: NSTextView Weirdness
- Subject: Re: NSTextView Weirdness
- From: Isaac Sherman <email@hidden>
- Date: Fri, 30 Aug 2002 14:52:34 -0400
on 8/30/02 9:00 AM, the method -(id)email@hidden:(id) sender:@"Isaac
Sherman"; returned:
>
> After checking google and not turning anything up, I figured this must be
>
> some kind of a problem I've managed to make. I have a perfectly innocent
>
> NSTextView, doing it's job. Until I set any colors from a color well (using
>
> [myColorWell color]). Background or text. Then, it gets very dirty; first
>
> off, it's still white with black text, and second, when scrolled, it retains
>
> what it held before. Scroll through a few times, and it's a solid mass
>
> of black. It even retains selected text. Until you resize, when it cleans
>
> itself up, then starts again. I'm using 10.1.5 still, so it's not something
>
> in Jaguar.
>
>
After more experimentation, I've found that the problem is the [colorWell
>
color] method is returning null if not invoked shortly after the color
>
changes. Should this be the case?
Well, even though I seem to be talking to myself (I'm not crazy! Are too!
Am not! ;), I have a quick question: Should I file a bug report on this? Or
is it fixed in Jaguar? Or, for some reason, is this behavior desirable?
Saving the chosen colors turned out to be a bit more difficult (not much,
mind, just added a global dictionary) than I'd planned, thanks to
NSColorWell not returning the color stored in it. A little bit of added
(And, IMHO, needless) overhead.
--
Isaac Sherman
MotaSoft Software
http://homepage.mac.com/huperzoevs/
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.