Newsgroups: comp.sys.mac.programmer
Path: utzoo!utgpu!cunews!cunews2!bnrgate!bmers95!bnr.ca!slang
From: slang@bnr.ca (Steven Langlois)
Subject: Looking for TextEdit Code
Message-ID: <1991May22.124357.5348@bmers95.bnr.ca>
Sender: usenet@bmers95.bnr.ca
Reply-To: slang@bnr.ca (Steven Langlois)
Organization: Bell-Northern Research Ltd.
Date: Wed, 22 May 91 12:43:57 GMT

In my current application I use TextEdit to implement a tracing capability
of what's arriving on the serial port. The text scrolls in a window
and the user can select, cut, copy, print, etc but can not edit. If the
user scrolls back in the trace, new text is added to the end but the
text is not scrolled into view (very much like what Microphone does).

I used TextEdit and it worked fine for this purpose but now, of course,
I would like the tracing window to contain more than 30000 or so characters.
Right now, characters are lost at the top when the tracing window gets to
30k characters. I am looking for code, preferrably Pascal, that implements
a virtual TextEdit with disk swapping or any other suitable substitute.
I realize I may have to write this myself, but if I can get it for free
(especially time wise) it would be very much appreciated.

Thanks in advance.


Steven Langlois
ISDN Basic Rate Access
BNR, a subsidiary of Northern Telecom

Internet: slang@bnr.ca

