• 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
Intercepting pasted or dragged texts
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Intercepting pasted or dragged texts


  • Subject: Intercepting pasted or dragged texts
  • From: Peter Horn <email@hidden>
  • Date: Sun, 21 Apr 2002 01:04:15 +0200

Hi!

In a subclass of NSTextView I want to have a look at every string that is put into the view. How can I have a look at strings that are pasted (Command-V) or dragged into the textView. I tried overriding the method
- (void)insertText:(NSString *)aString
but this isn't called in either case.

Any ideas?

Thanks,
Peter
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.

  • Follow-Ups:
    • Using NSSocketPort
      • From: Mike Laster <email@hidden>
References: 
 >Re: NSDistributedNotificationCenter (From: Ali Ozer <email@hidden>)

  • Prev by Date: Re: NSDistributedNotificationCenter
  • Next by Date: Using NSSocketPort
  • Previous by thread: Re: NSDistributedNotificationCenter
  • Next by thread: Using NSSocketPort
  • Index(es):
    • Date
    • Thread