Intercepting pasted or dragged texts
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.