Lock/auto accepting PluggableTextMorphs

squeak-dev at lists.squeakfoundation.org squeak-dev at lists.squeakfoundation.org
Sat Oct 26 18:44:13 UTC 2002


Ned Konz <ned at bike-nomad.com> wrote:
> On Saturday 26 October 2002 04:35 am, danielv at netvision.net.il wrote:
> > Does anyone know a way to make PTMs
> > 1. refuse focus and ignore all keystrokes?
> 
> Then (unless you changed something):
> * you couldn't select text and "DoIt"
> * you couldn't select text and copy it to the clipboard
> * you couldn't scroll or move the cursor using keystrokes
> 
> So it sounds like you just want to make keystrokes not change the text 
> itself.
Well, I'm convinced. Suggestions?

> > 2. Immidiately accept after every keystroke?
> 
> I suspect that this would cause flashing.
Why? alt-s doesn't usually...

> However, I think both can be done with subclasses (or changes to the 
> existing code). 
A tautology is nice, a few pointers would be better ;-)

> Remember too that compatibility with MVC requires 
> fixes on both sides of the Pluggable* hierarchy.
Hey, before you said this, I didn't know how to do this in one window
system, now I don't know how to do it in two. Some help. Thanks alot!
;-)
 
> -- 
> Ned Konz
> http://bike-nomad.com
> GPG key ID: BEEA7EFE

Daniel Vainsencher



More information about the Squeak-dev mailing list