Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!tut.cis.ohio-state.edu!unmvax!indri!polyslo!usc!nunki.usc.edu!sawant From: sawant@nunki.usc.edu (Abhay Sawant) Newsgroups: comp.lang.pascal Subject: Re: Editor source in Turbo Pascal Keywords: editor source Message-ID: <3632@nunki.usc.edu> Date: 27 Apr 89 00:27:02 GMT References: <9357@watcgl.waterloo.edu> <4445@arcturus> Reply-To: sawant@nunki.usc.edu (Abhay Sawant) Distribution: comp Organization: University of Southern California, Los Angeles, CA Lines: 28 In article <4445@arcturus> mitch@arcturus.UUCP (Mitchell S. Gorman) writes: >In article <9357@watcgl.waterloo.edu>, shlee@watmum.waterloo.edu (Simon Lee) writes: >> Does anyone know where I could obtain the source code for some simple >> editor written in Turbo Pascal? Thanks in advance. > >Have you considered the Editor Toolbox from Borland??? It's a wonderful toolbox, but it's not really very simple and perhaps too bulky to be 'tucked away' inside something you're writing. I think it'd be neat having something which'd be procedure editor(x1, y1, x2, y2: byte; p:linepointer); It'd allow simple editing (a la Sidekick) inside a window between x1,y1 and x2,y2, it'd be nondestructive in that you don't have to save background etc., it'd take the initial text as a linked list of lines and return you the edited version through whatever p points to. Yes, such an editor procedure would be real neat, esp. if it were a TPU of 10k or less. Anyone know where i may look? Or do you have source like this? ------------------------------------------------------------------------------- You're never too old to have a happy childhood. ajay shah (213)745-2923 or sawant@nunki.usc.edu _______________________________________________________________________________