Path: utzoo!mnetor!uunet!husc6!bbn!uwmcsd1!ig!jade!ucbvax!RCCA.BBN.COM!ECOOPER From: ECOOPER@RCCA.BBN.COM (Eric Cooper x2947) Newsgroups: comp.sys.xerox Subject: using TEdit Message-ID: <8801061910.AA23418@ucbvax.Berkeley.EDU> Date: 6 Jan 88 18:52:00 GMT Sender: daemon@ucbvax.BERKELEY.EDU Organization: The ARPA Internet Lines: 26 I posted this a couple weeks ago and have yet to receive a single response. Surely someone must know something about using TEdit. Please don't be shy. Thanks in advance. ----- 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