SmallSense__CompletionEngine.st
changeset 234 97857872ee47
parent 233 fb33bd6466a4
child 249 8bc64027b189
--- a/SmallSense__CompletionEngine.st	Thu May 22 16:15:30 2014 +0100
+++ b/SmallSense__CompletionEngine.st	Fri May 23 12:58:31 2014 +0100
@@ -75,19 +75,6 @@
     ^ self complete.
 
     "Created: / 21-01-2014 / 23:07:47 / Jan Vrany <jan.vrany@fit.cvut.cz>"
-!
-
-completeFor: aCodeView2OrTextEditView
-    "Compute completion for given codeView, taking all the information
-     from it. Returns a CompletionResult with computed completions"
-
-    codeView := aCodeView2OrTextEditView.
-    result := CompletionResult new.
-
-    ^ self complete.
-
-    "Created: / 02-10-2013 / 13:24:43 / Jan Vrany <jan.vrany@fit.cvut.cz>"
-    "Modified: / 03-10-2013 / 16:42:19 / Jan Vrany <jan.vrany@fit.cvut.cz>"
 ! !
 
 !CompletionEngine methodsFor:'completion-individual'!
@@ -145,12 +132,13 @@
     ].
 
 
-    selectors keysAndValuesDo: [:selector :classes|
+    selectors keysAndValuesDo: [:selector :classes |
         result add:(PO forClasses: classes selector: selector prefix: stripoffPrefix)
-    ]
+    ].
+    ^ self
 
     "Created: / 08-04-2014 / 21:34:36 / Jan Vrany <jan.vrany@fit.cvut.cz>"
-    "Modified: / 20-05-2014 / 10:45:15 / Jan Vrany <jan.vrany@fit.cvut.cz>"
+    "Modified: / 23-05-2014 / 11:54:47 / Jan Vrany <jan.vrany@fit.cvut.cz>"
 ! !
 
 !CompletionEngine methodsFor:'completion-private'!