Lock/auto accepting PluggableTextMorphs

Ned Konz squeak-dev at lists.squeakfoundation.org
Sat Oct 26 18:45:30 UTC 2002


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=20
itself.

> 2. Immidiately accept after every keystroke?

I suspect that this would cause flashing.

However, I think both can be done with subclasses (or changes to the=20
existing code). Remember too that compatibility with MVC requires=20
fixes on both sides of the Pluggable* hierarchy.

--=20
Ned Konz
http://bike-nomad.com
GPG key ID: BEEA7EFE




More information about the Squeak-dev mailing list