Re: insertText
Re: insertText
- Subject: Re: insertText
- From: Adam Leonard <email@hidden>
- Date: Tue, 3 Jan 2006 22:33:20 -0800
The docs recommend only using insertText for actual user input. It
recommends using NSTextContainer, although you can also just use
NSText's methods for what your doing. Look at -string and -setString:
-Adam Leonard
On Jan 3, 2006, at 8:48 PM, Chad Armstrong wrote:
I have an NSTextView, named textView, and I want to insert some
text in it to be displayed. So, here is the snippet of code I call:
[textView insertText:@"Hello"];
However, from the tests I've run, nothing appears. Am I completely
missing the point for something here, or do I need to tell the
NSTextView to refresh itself?
Chad
_______________________________________________
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
References: | |
| >insertText (From: Chad Armstrong <email@hidden>) |