Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!zaphod.mps.ohio-state.edu!think.com!mintaka!yale!quasi-eli!cs.yale.edu!bitting-douglas From: bitting-douglas@cs.yale.edu (Douglas Bitting) Newsgroups: comp.sys.mac.programmer Subject: Think C and EditText fields Message-ID: <30007@cs.yale.edu> Date: 12 Apr 91 19:22:27 GMT Sender: news@cs.yale.edu Organization: Yale University Computer Science Dept., New Haven, CT 06520-2158 Lines: 15 Nntp-Posting-Host: zoo-gw.cs.yale.edu Originator: bitting@suned.CS.Yale.Edu I am writing an application that uses CEditText to display some data. As the data comes in, there is a certain point where I want 1 new line of data to force out 1 line of old data (the data that is at the beginning of the text). Is there a better way to do this than TEDelete? Using this method (calling TESelect to select x bytes, then calling TEDelete) causes the text at the bottom of the buffer to jump up... Is there a way to remove text from the top of the buffer without creating this "jumping" effect in such a way that it is transparent to a user? Thanks... -- Doug Bitting | "And we know that in all things God works PO Box 3043 Yale Station | for the good of those who love him..." New Haven, CT 06520 | --Romans 8:28 bitting@cs.yale.edu +------------------------------------------