• 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
NSTextView - firstResponder notification?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • Follow-Ups:
    • Re: NSTextView - firstResponder notification?
      • From: "Jordan Krushen" <email@hidden>
  • Prev by Date: Re: How to find out if a TCP port is in use?
  • Next by Date: One NSOutlineView, more than one identical items
  • Previous by thread: outline view using NSTreeController -- expand all items
  • Next by thread: Re: NSTextView - firstResponder notification?
  • Index(es):
    • Date
    • Thread