Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP
Path: utzoo!mnetor!uunet!husc6!mit-eddie!ll-xn!ames!ucbcad!ucbvax!RCCA.BBN.COM!ECOOPER
From: ECOOPER@RCCA.BBN.COM (Eric Cooper x2947)
Newsgroups: comp.sys.xerox
Subject: using TEdit
Message-ID: <8712090002.AA00613@ucbvax.Berkeley.EDU>
Date: Tue, 8-Dec-87 17:35:00 EST
Article-I.D.: ucbvax.8712090002.AA00613
Posted: Tue Dec  8 17:35:00 1987
Date-Received: Sun, 13-Dec-87 15:49:54 EST
Sender: daemon@ucbvax.BERKELEY.EDU
Organization: The ARPA Internet
Lines: 22



I am trying to use TEdit programmatically, but am finding it problematic.  
My application will be sending a considerable amount of text to a TEdit 
window.  I am using TEdit to insure that the text will be nicely formatted 
regardless of the dimensions of the window, and that a certain amount of 
the text will be reviewable by scrolling.  However, I would also like to 
have text clipped from the beginning of the stream, when the size of the 
stream becomes unnecessarily long.  I have been able to do all this, but 
after deleting from the beginning my pointer is at the beginning and so is 
the focus of the window.
I would like to have the window automatically scroll back to the end of the 
stream, but "intelligently" (i.e. displaying as much of the newly added 
text as possible.  Even better, I would like to have the whole deleting 
routine take place invisibly...instead of scrolling to the beginning, 
underlining selection, deleting it, etc.  
Any and all suggestions appreciated.

-Eric Cooper
 BBN Labs
 Cambridge, MA
 (617) 628-1824