Text not selecting in NSTextView
Text not selecting in NSTextView
- Subject: Text not selecting in NSTextView
- From: "Paul J. Lucas" <email@hidden>
- Date: Wed, 12 Oct 2005 09:44:29 -0700 (PDT)
I'm doing:
int lengh = [[myTextView textStorage] length];
[myTextView setSelectedRange:NSMakeRange(0,length)];
to select all the text in the NSTextView, but it doens't do it.
The insertion point is before the first character.
How can I select all the text?
- Paul
_______________________________________________
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