Re: Understanding [NSTextview setInsertionPointColor:]
Re: Understanding [NSTextview setInsertionPointColor:]
- Subject: Re: Understanding [NSTextview setInsertionPointColor:]
- From: Jens Bjerrehuus <email@hidden>
- Date: Tue, 8 Nov 2005 21:51:16 +0100
Den 08/11/2005 kl. 21.34 skrev Douglas Davidson:
Probably the color panel is sending changeColor: and the text view,
as first responder, is receiving it.
So this might explain the color change when I have a selection, but
does the description from the NSTextView documentation:
"- (void)changeColor:(id)sender
Invoked by the NSColorPanel sender to set the color of the selected
text..."
also mean text entered _after_ the color well is closed? Because,
it's foreground color is changed too.
And does the explanation still hold when the color well is on a
preference panel and is updating the text view in the document window
through a notification? That's the setup in the actual application
where I first noticed this behavior.
Oh, and thanks for the quick response.
Best regards
Jens
_______________________________________________
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