ImageEditor.st
changeset 497 13ce380baa5f
parent 494 b73d69538b6f
child 499 da5c2e271d1a
--- a/ImageEditor.st	Wed Jan 28 12:06:18 1998 +0100
+++ b/ImageEditor.st	Wed Jan 28 14:31:28 1998 +0100
@@ -1625,6 +1625,16 @@
     box okText:'OK'.
     box abortText:'Cancel'.
     box initialText: 'ApplicationModel'.
+    box entryCompletionBlock:[:contents |
+        |s what m|
+
+        s := contents withoutSpaces.
+        what := Smalltalk classnameCompletion:s.
+        box contents:what first.
+        (what at:2) size ~~ 1 ifTrue:[
+            self beep
+        ]
+    ].
     box showAtPointer.
     box accepted
     ifTrue:
@@ -1632,6 +1642,7 @@
         self loadFromInClassesOf: box contents asSymbol
     ]
 
+    "Modified: / 28.1.1998 / 13:14:00 / stefan"
 !
 
 loadFromFile