Re: InsertText on non editable NSTextView
Re: InsertText on non editable NSTextView
- Subject: Re: InsertText on non editable NSTextView
- From: Sherm Pendley <email@hidden>
- Date: Mon, 3 Jun 2002 18:29:10 -0400
On Monday, June 3, 2002, at 06:11 PM, Jesus De Meyer wrote:
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).
What I do is make the NSTextView editable, insert the text, then make it
non-editable again. It's not a very elegant solution, but it works.
sherm--
Never put off until tomorrow what you can do today. There might be a law
against it by that time.
_______________________________________________
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.