#REFACTORING by cg
authorClaus Gittinger <cg@exept.de>
Sun, 23 Oct 2016 11:40:29 +0200
changeset 16980 46aba5fba348
parent 16979 101182c17d21
child 16981 a22824384c13
#REFACTORING by cg class: Tools::CodeCompletionService comment/format in: #keyPress:x:y:in:
Tools__CodeCompletionService.st
--- 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>"
 ! !