NSTextView - firstResponder notification?
NSTextView - firstResponder notification?
- Subject: NSTextView - firstResponder notification?
- From: Arne Bech <email@hidden>
- Date: Fri, 17 Mar 2006 15:33:24 -0700
I have a NSTextView in a window (along with some other stuff). The
NSTextView is by default showing the word "notes". Is there any way
to make that text selected whenever the user cliks or tabs into the
textView? and possible so only when it has the word "notes"?
I can allready store and put text in the textView. I have set up an
delegate with - (BOOL)textShouldBeginEditing:(NSText *)aTextObject
method, but that only goes off if I type in the textview. So it
selects the word "notes" but just after I type something after it.
Thanks for any suggestions!
Sincerely,
Arne Bech
_______________________________________________
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