Tools__CodeCompletionService.st
changeset 16980 46aba5fba348
parent 16363 29ee1ee25529
child 17136 cb908d2ba02e
--- a/Tools__CodeCompletionService.st	Thu Oct 20 00:28:30 2016 +0200
+++ b/Tools__CodeCompletionService.st	Sun Oct 23 11:40:29 2016 +0200
@@ -106,14 +106,15 @@
 !CodeCompletionService methodsFor:'event handling'!
 
 keyPress: key x:x y:y in: view
-
     "Handles an event in given view (a subview of codeView).
      If the method returns true, the event will not be processed
      by the view."
 
-    (view == textView and:[key == #'CodeCompletion']) ifTrue:
-        [self complete. ^true].
-    ^false
+    (view == textView and:[key == #'CodeCompletion']) ifTrue:[
+        self complete. 
+        ^ true
+    ].
+    ^ false
 
     "Created: / 07-03-2010 / 09:36:44 / Jan Vrany <jan.vrany@fit.cvut.cz>"
 ! !