EditTextView.st
changeset 5394 bd2329beafbc
parent 5393 efb824b89cdf
child 5395 fc9336b15c5c
child 5399 22d3682235f9
--- a/EditTextView.st	Thu Aug 06 00:15:24 2015 +0200
+++ b/EditTextView.st	Sat Aug 08 16:48:38 2015 +0200
@@ -4904,11 +4904,13 @@
             self initializeCompletionSupport.
         ].
     ].
+    
     "/ JV: why setting it to nil here?
 "/    ifFalse:[
 "/        completionService := nil
 "/    ].
     completionSupport notNil ifTrue:[
+        completionSupport stopCompletionProcess.
         (completionSupport handleKeyPress:key x:x y:y) ifTrue:["eaten" ^ self].
     ].
 
@@ -4981,7 +4983,9 @@
 "/          ].
         ].
         true "immediateCompletion" ifTrue:[ 
-            completionSupport notNil ifTrue:[ completionSupport postKeyPress:key].
+            completionSupport notNil ifTrue:[ 
+                completionSupport postKeyPress:key
+            ].
         ].
         ^ self
     ].