Re: text caret color
Re: text caret color
- Subject: Re: text caret color
- From: Douglas Davidson <email@hidden>
- Date: Thu, 17 Nov 2005 17:44:28 -0800
On Nov 17, 2005, at 10:54 AM, I. Savant wrote:
NSTextView has a -setInsertionPointColor: method. That doesn't
help with NSTextField, but with a few configuration changes, an
NSTextView should work much the same in most any situation.
NSTextField uses a field editor, which will be an NSTextView, to
handle its editing. You can obtain the field editor from the
textfield via the -currentEditor method. The question of when to
manipulate the field editor depends a bit on what you are doing--
whether you are subclassing NSTextField, for example, or acting as
its delegate, or something else. Also note that the field editor is
shared with other controls in the same window.
Douglas Davidson
_______________________________________________
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