Re: placing the text insertion point
Re: placing the text insertion point
- Subject: Re: placing the text insertion point
- From: Volker Runkel <email@hidden>
- Date: Sat, 28 Jan 2006 09:57:50 +0100
Hi,
i would try
[yourTextView setSelectionRange:NSMakeRange([[yourTextView string]
length],0)];
after loading your textViews content
Volker
Am 28.01.2006 um 07:47 schrieb Donald Hall:
My apologies if how to do this is obvious, and I just couldn't find
it in the documentation, but how do you place the text insertion
point in an NSTextView? When I open my window, the text insertion
caret (?) is always before the first character of text. I would
like to place it at the end of the text.
Thanks,
Don
--
Donald S. Hall, Ph.D.
Apps & More Software Design, Inc.
email@hidden
http://www.appsandmore.com
_______________________________________________
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
Attachment:
smime.p7s
Description: S/MIME cryptographic signature
_______________________________________________
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