Re: Erasing a NSTextView
Re: Erasing a NSTextView
- Subject: Re: Erasing a NSTextView
- From: Chris Hanson <email@hidden>
- Date: Mon, 1 Sep 2003 18:27:42 -0500
On Monday, September 1, 2003, at 03:10 PM, Sanri Parov wrote:
is there a way to erase completely an NSTextView programmatically?
I mean, to do something similar to what you'd normally do in a text
editor by "Select All" and "Clear" functions.
Just set your NSTextView's represented text to the empty string.
-- Chris
--
Chris Hanson, bDistributed.com, Inc. | Email: email@hidden
Custom Mac OS X Development | Phone: +1-847-372-3955
http://bdistributed.com/ | Fax: +1-847-589-3738
http://bdistributed.com/Articles/ | Personal Email: 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.