Re: keyDown idiosyncricies
emlowe@fsa.ca
Wed, 29 Nov 1995 17:50:52 -0700 (MST)
>
> >
> > I would like to implement an incremental search type thing in MetaCard.
> > I would have two fields, the first field is the first to search in, and
> > the second field is the incremental search input field.
> >
> > Anyone who has used emacs (Control-s) knows what I want.
>
> This feature can be found in the 2.0 script editor. Coincidentally,
> the second alpha-test release of 2.0 has just been released, and can
> be acquired via anonymous FTP from ftp.metacard.com:/MetaCard/2.0.
>
> on keyDown which
> switch
> case searching
> #### here's the important line for entering the character
> put which after field "Buffer"
> doselect
> break
Yea, but this doesn't do backspace or delete. Let's say I want to
search for eml, but type emp; now all I want to do is hit delete or
backspace, and then type p. Also, let's say I searched for "Happy Days
are here again", and now want to search for "Days are here". It would
be natural to select the word "Happy", press delete, select "again",
press delete.
Why do I have to give up the usefulness and functionality of the entry
field?
-Earle
--
Earle Lowe
emlowe@fsa.ca
FSA Corporation
Performance and system software for UNIX networks.