Re: Changing selection color in NSTextView
Re: Changing selection color in NSTextView
- Subject: Re: Changing selection color in NSTextView
- From: Douglas Davidson <email@hidden>
- Date: Thu, 26 Apr 2007 14:07:43 -0700
On Apr 24, 2007, at 9:31 AM, sheen mac wrote:
How can I change default selection of NSTextView ?.
To change the selection color, call setSelectedTextAttributes: with a
dictionary that includes your desired color as the value for
NSBackgroundColorAttributeName.
Douglas Davidson
_______________________________________________
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