[comp.sys.mac] Capps' Editor Construction Kit

rs4u+@andrew.cmu.edu (Richard Siegel) (04/25/88)

> *Excerpts from: 23-Apr-88 Capps' Editor Construction Kit Scott*
> *Storkel@RICE.BITNE (367)*

> Has anyone used the CAPPS' Editor Construction Kit from Think?
Yup!

> Exactly what kind of routines does this package include, and how useful are
> they?
The heart of Capps' is PE, a mirror image the TE routines found in the Mac ROM.
The biggest difference is that (a) PE doesn't do word wrap; (b) there's no 32K
limitation - a PE record can contain as much text as will fit into memory; (c)
PE has support for "escapes", which allow you to assign special behavior to
stretches of text - boldfacing, for example, or anything else. (d) PE has a
mechanism for fast insertion of text no matter how big the text is or where
you're typing.

PE is more line-oriented than TE is, and includes additional routines to take
advantage of that; one could conceivably implement word-wrap on their own, and
end up with something that's still faster than PE.

The other components of the Capps' package are routines for pattern-matching
searches of text, and libraries for navigation of HFS directories.

Some programs that use PE or other components of Capps:

        LightspeedC (for which PE was created)
        Lightspeed Pascal
        LaserTalk (from Emerald City Software)

Also my program FzzPlot Prime, but that hasn't hit the street yet. :-)

> Don't suppose anyone has tried to use these libraries with another compiler,
> such as MPW, have they?

Capps' is only available as LightspeedC or Lightspeed Pascal libraries. I
suppose it's possible to use it with another  compiler, (in fact, I've done it,
as an experiment), but I won't be the one to tell you how to do it...

                --Rich

Rich Siegel
THINK Technologies