How to force AcceptableCleanTextMorph to accept for each character typed?
Ken G. Brown
kbrown at tnc.ab.ca
Tue Apr 2 00:20:33 UTC 2002
Thx a bunch Ned and Scott, I now have something that works.
Next job is to try to understand it! Then make it pretty...
> -----Original Message-----
> From: squeak-dev-admin at lists.squeakfoundation.org
> [mailto:squeak-dev-admin at lists.squeakfoundation.org]On Behalf Of Scott
> Sent: April 1, 2002 3:47 PM
> To: Ken G. Brown
> Cc: squeak-dev at lists.squeakfoundation.org
> Subject: Re: How to force AcceptableCleanTextMorph to accept for each
> character typed?
> The type-in pane of the "Objects Tool" (seen when its "find" tab is
> selected) had a similar need. Check out ObjectsTool.newSearchPane to
> see how it does it.
> -- Scott
> At 3:19 PM -0700 4/1/02, Ken G. Brown wrote:
> >I would like to have one of my AcceptableCleanTextMorphs
> pass characters
> >through to the #accept method as characters are typed, a
> character at a
> >time. What would the best way to accomplish that?
> >#hasUnacceptedEdits might do it I suspect but how? Where
> would I need to do
> >the check?
> >Perhaps AcceptableCleanTextMorph is not the right way to address the
> >problem. Basically I need a small command window that
> immediately sends
> >characters when typed.
> >Thx for any help.
> >Ken Brown
More information about the Squeak-dev