--- a/SmallSense__JavaCompletionEngineSimple.st Wed Oct 16 15:44:43 2013 +0100
+++ b/SmallSense__JavaCompletionEngineSimple.st Thu Oct 17 01:41:47 2013 +0100
@@ -13,7 +13,12 @@
!JavaCompletionEngineSimple methodsFor:'completion'!
complete
- | line col scanner token tokens values maybeReceiverToken |
+ | context line col scanner token tokens values maybeReceiverToken |
+
+ context := CompletionContext new.
+ context node: nil position: codeView characterPositionOfCursor.
+ context codeView: codeView.
+ context language: JavaLanguage instance.
line := codeView listAt: codeView cursorLine.
col := codeView cursorCol.
@@ -71,7 +76,7 @@
^ result
"Created: / 02-10-2013 / 13:55:43 / Jan Vrany <jan.vrany@fit.cvut.cz>"
- "Modified: / 03-10-2013 / 17:48:50 / Jan Vrany <jan.vrany@fit.cvut.cz>"
+ "Modified: / 17-10-2013 / 00:38:13 / Jan Vrany <jan.vrany@fit.cvut.cz>"
! !
!JavaCompletionEngineSimple methodsFor:'completion-helpers'!