Re: InsertText on non editable NSTextView
Re: InsertText on non editable NSTextView
- Subject: Re: InsertText on non editable NSTextView
- From: Aki Inoue <email@hidden>
- Date: Mon, 3 Jun 2002 15:26:12 -0700
Jesus,
The -insertText: is for the text input system that takes the input from
users.
You need to change the content using setString: or one of the content
accessing methods in NSAttributedString to change the content for
non-editiable NSTextView. Then, you can use
setSelectedRange:affinity:stillSelecting: method to update the selection.
Aki
On 2002.06.03, at 15:11, Jesus De Meyer wrote:
Hi,
I tried to do the insertText method on an NSTextView that was set to
not editable, but it didn't do much. Is there another way I could do
this? I know setSTring can, but setString doesn't scroll to the end of
the text (bottom line).
Thanks,
Jesus
______________________________
Jesus De Meyer
CEO @ E dot software
http://www.edot-software.com
_______________________________________________
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.
_______________________________________________
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.