• 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
StrokeColor in NSTextView
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

StrokeColor in NSTextView


  • Subject: StrokeColor in NSTextView
  • From: Lorenzo <email@hidden>
  • Date: Fri, 08 Jun 2007 16:50:24 +0200

Hi,
I have a NSColorWell which I use to set the strokeColor of the selected text
in my NSTextView.
- (IBAction)ChooseTextStrokeColor:(id)sender
{
    [mTextEditorTextView changeAttributes:self];
}

When I change the strokeColor, the
    convertAttributes:(NSDictionary*)attributes
is invoked properly. But, any time I change the strokeColor of the selected
text, I get the whole text color change. I mean, the foreColor and the
strokeColor change both. Now, I set the attribute dictionary well. It's not
my mistake. I suppose the ColorPanel keeps on sending messages to the
forecolor of the selected text.

How to say that this NSColorWell must act only on the strokeColor and not on
the ForeColor?

Best Regards
--
Lorenzo
email: email@hidden

_______________________________________________

Cocoa-dev mailing list (email@hidden)

Do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Follow-Ups:
    • Re: StrokeColor in NSTextView
      • From: Douglas Davidson <email@hidden>
  • Prev by Date: Re: Core Data app becomes a memory hog
  • Next by Date: Re: nodesForXPath does not seem to work in Address Book Plug-Ins
  • Previous by thread: [ANN] PreFab Event Taps Testbench 1.0
  • Next by thread: Re: StrokeColor in NSTextView
  • Index(es):
    • Date
    • Thread