Re: real-time text display in NSTextView object
Re: real-time text display in NSTextView object
- Subject: Re: real-time text display in NSTextView object
- From: Fritz Anderson <email@hidden>
- Date: Tue, 12 Aug 2003 09:35:36 -0500
Try sending [theTextView display] after each content change.
-- F
On Monday, 11 August 2003, at 10:39 PM, Zhiyong Wang wrote:
I used the following codes to display messages in textView,
NSTextView *theTextView;
NSString *newText1, *newText2;
[theTextView setString:newText1];
[theTextView insertText:newText2];
....
The problem is that all the text will display at once after all of
them have been inserted. Is there a way to update the textview in
REAL-TIME whenever a new line is written to the textview? in other
words, I hope the text displayed in the text view would update as soon
as a new line is added, instead of displaying all the texts in one
time.
_______________________________________________
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.