text editor

John Kiltinen kiltinen at nmu.edu
Mon Jul 15 16:08:01 EDT 2002


Last Friday, Simon Lord <slord at mac.com> wrote:

>Has anyone written a humble text editor with abilities which
>rival those of Note Pad or TextEdit?  Are you willing to part
>with a copy?

How humble are you willing to go?  I have implemented a "Note Pad" as a
feature of my puzzles package.  It offers the user of the puzzles a single
field in which to park blocks of text that are perhaps copied to the
clipboard from the record of steps performed on a puzzle, or to write notes
for later reference.  I have implemented the standard keystroke equivalents
for copy, paste, and select all.  I have not implemented such other basics
as creating new text documents or saving separate text files.  (When the
user saves the entire puzzle, their note pad gets saved.  I have a print
utility which allows for printing from this field, but this utility is more
broadly defined.)

I have found that MetaCard makes it very easy to script for this sort of
thing, and it ought to be easy to add the features of a basic text editor.
The commandkeyDown message allows one to create a way of meeting the user's
expectations for keystroke equivalents of Edit menu commands even if one
does not want to have a standard menu.

If the limited start I have described would be of any use, contact me off
list and I can send you a copy of one of my puzzle stacks.

John Kiltinen


++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
 John Kiltinen (kiltinen at nmu.edu)        Home              Office
 Professor, Dept. of Math. & CS   Tel.(906) 228-8035 or (906) 227-1600
 Northern Michigan University     Fax (906) 228-4667 or (906) 2272010
 Marquette, MI 49855 USA
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++





More information about the metacard mailing list