This is probably rather a jump, but never mind...
The text editor I have most fondness of is Brief, which ran under DOS.
It was sold to Borland, who later killed it off.
When MS-windows came along, Premia Codewright was a very capable
editor which used the Brief API ... until Premia sold it to Borland,
who killed it off ;-(
For programming, I currently use CRiSP, which has been around for a
very long time. It started life as a shareware version of Brief, but
is nowadays a licensed product runs under many GUI operating systems.
CRiSP is *extremely* configurable, in a similar way to emacs, but IMO
does this much more elegantly. Partly this is because it is mainly
written by one person. It has a macro programming language, similar to
C but with added data types (strings, dictionaries, dynamic
arrays...). It happens to be compiled down to a lisp-like virtual
machine, but that is not relevant here.
The CRiSP macro language allows creation of key mappings, dialogs, and
all sorts of things I won't go into here. My main reason for posting
this is to point you at the primitive API. As I mention, this is based
on the original BRief API, which was very elegant. you could push()
and pop() a keyboard mapping, which allowed you to map things
temporarily, for instance. Also, the naming was very consistent;
inq_xxx() and set_xxx() were used to inquire and set, respectively,
various parameters, etc. etc.
This:
http://www.infoload.net/CRiSP/user.pdf
is a pdf of the CRiSP macro primitives guide (note: the PDF has
'bookmark not defined' errors). I think it is worth looking at if only
to see the API of an extremely mature and capable editor.
Cheers
Jon N
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"leo-editor" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/leo-editor?hl=en
-~----------~----~----~----~------~----~------~--~---