Re: NSTextView: how to avoid insertion of text
Re: NSTextView: how to avoid insertion of text
- Subject: Re: NSTextView: how to avoid insertion of text
- From: Malte Tancred <email@hidden>
- Date: Thu, 2 May 2002 08:58:55 +0200
On tuesday, april 30, 2002, at 12:16 , Gilles Celli wrote:
I am acquiring data from a Humiditymeter. The data is inserted line by
line
In an NSTextView field. However as the data comes in every second and
if a
user clicks on the NSTextView field it happens that the Text is
inserted at
the click Point.
How to avoid this ?
Try appending the string to the text storage of the text view.
[[textView textStorage] appendAttributedString:aString];
Cheerio,
Malte
--
Malte Tancred
Computer programmer, Oops AB, Sweden
mailto:email@hidden
http://www.oops.se/
_______________________________________________
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.