Re: NSTextView question...
Re: NSTextView question...
- Subject: Re: NSTextView question...
- From: Alex Lock <email@hidden>
- Date: Mon, 6 Oct 2003 00:14:40 -0400
On Monday, October 6, 2003, at 12:11 AM, Nick Zitzmann wrote:
This is pretty easy, actually...
[textView setEditable:YES];
[textView insertText:someString]; // where someString is an object
with text (NSString, NSAttributedString, etc.)
[textView setEditable:NO];
Oh wow;
I feel mind-numbingly stupid for that one... it's been a long day:)
Question: does making it non-editable remove it from the responder
chain (so as not to foul up my keybindings)?
Thanks!
Alex <email@hidden>
_______________________________________________
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.