• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Understanding [NSTextview setInsertionPointColor:]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • Follow-Ups:
    • Re: Understanding [NSTextview setInsertionPointColor:]
      • From: Douglas Davidson <email@hidden>
References: 
 >Understanding [NSTextview setInsertionPointColor:] (From: Jens Bjerrehuus <email@hidden>)
 >Re: Understanding [NSTextview setInsertionPointColor:] (From: Douglas Davidson <email@hidden>)

  • Prev by Date: Re: Using NSSocketPort, NSConnection, Distributed Objects, and threads...
  • Next by Date: Re: Understanding [NSTextview setInsertionPointColor:]
  • Previous by thread: Re: Understanding [NSTextview setInsertionPointColor:]
  • Next by thread: Re: Understanding [NSTextview setInsertionPointColor:]
  • Index(es):
    • Date
    • Thread