[comp.lang.pascal] Turbo Editor Toolbox

reid@hpmtlx.HP.COM ($Reid Trimble) (01/19/89)

> slezakm@jacobs.CS.ORST.EDU (Mark Slezak) /  1:36 pm  Jan 15, 1989 /
> Well the Turbo Editor Toolbox has been suggested a few times for
> an editor. Let me restate my request. I am writing an editor for
> some learning disabled students who are using an apple iigs. I am
> professent in pascal, but not the gs. I am looking for some code
> which I can port over to the apple.
> 
> This rules out the Turbo Toolbox, unless the gs runs CP/M. Anyone
> have any code or an ftp site where I can find code?
> 
> Mark.
> {tektronix,hp-pcd}!orstcs!jacobs.CS.ORST.EDU!slezakm
----------

Don't rule the editor toolbox out completely.  I looked into it about 18
months ago for a similar project (that is, writing a pascal based editor)
and discovered the machine specific stuff is pretty well modularized.  As
was noted above, the code is extensively commented and TP 4.0 is not all
that different from UCSD/Apple pascal.  The areas you need to worry about
are writing to the display and getting keystrokes.  For speed reasons, the
toolbox writes directly to video memory.  Not hard to identify and change
for the apple.  The toolbox input routines try to emulate a decent type-
ahead buffer, something I think the apple does an ok job of itself, so I
think you could avoid a lot of complexity. 

One last point - remember it is a toolbox, not a canned do-it-this-way
editor.  For simplicity, you can completely avoid pulldown menus, multiple
windows, etc etc and customize it to your application.

PS - priorities changed and I never did the project, otherwise I'd send you
     the source...

Reid.