Extending selection in NSTextView
Extending selection in NSTextView
- Subject: Extending selection in NSTextView
- From: Charles Srstka <email@hidden>
- Date: Wed, 23 Oct 2002 22:17:35 -0500
NSTableView has a method called selectRow:byExtendingSelection: so that
you can override it and know whether the user is extending the
selection or not.
Is there any way to do something similar to this in a NSTextView? What
I want to do is override the selection method and be able to tell
whether this is a brand new selection or an extension of the previous
one. Unfortunately, all the methods I can see in NSTextView seem to
specify an absolute range to set the selection to.
Any ideas?
Thanks,
Charles
_______________________________________________
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.