Re: NSTextView problems
Re: NSTextView problems
- Subject: Re: NSTextView problems
- From: Andy Lee <email@hidden>
- Date: Sun, 16 Jun 2002 11:25:08 -0400
At 10:40 AM +0100 6/16/02, Nick Morris wrote:
The "selected character range" (effectively the point of insertion
of new character) and "marked character range" contains just the
information I need. However, I can not find a method that will
return these values!
NSTextView has -selectedRange and -markedRange methods, which are
declared in the NSTextInput protocol, which NSTextView implements. A
little tricky to discover; even if one remembers to check
superclasses, one may forget to check protocols.
--Andy
_______________________________________________
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.