Re: Newbie Q : writing into a text view programmatically
Re: Newbie Q : writing into a text view programmatically
- Subject: Re: Newbie Q : writing into a text view programmatically
- From: Robert Walker <email@hidden>
- Date: Fri, 7 Jul 2006 09:41:00 -0400
NSTextView Class Reference
insertText:
Inserts aString into the receiver’s text at the insertion point if
there is one, otherwise replacing the selection.
- (void)insertText:(id)aString
Is that what you're looking for?
On Jul 7, 2006, at 3:48 AM, email@hidden wrote:
Hello all,
is there a simple way to implement the following action
(say, a method in a subclass of NSTextView) :
-(void)writeOut: (NSString*) s;
which makes the text view change (along with all
the data associated with it, such as the text conatiner
and the layout manager) exactly as if the user had
typed the string s on the keyboard ?
Ewan
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
40mac.com
This email sent to email@hidden
--
Robert Walker
email@hidden
_______________________________________________
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