--- a/SmallSense__SmalltalkCompletionEngine.st Wed Feb 11 22:38:49 2015 +0000
+++ b/SmallSense__SmalltalkCompletionEngine.st Thu Feb 12 00:30:40 2015 +0000
@@ -392,17 +392,17 @@
| class |
- codeView := context codeView.
- class := codeView isCodeView2
- ifTrue: [ codeView klass ]
- ifFalse: [ codeView editedClass ].
+ textView := context textView.
+ class := textView isCodeView2
+ ifTrue: [ textView klass ]
+ ifFalse: [ textView editedClass ].
class isNil ifTrue:[
class := UndefinedObject.
].
- ^ self complete: codeView codeAspect source: codeView contents string class: class line: codeView cursorLine column: codeView cursorCol
+ ^ self complete: textView codeAspect source: textView contents string class: class line: textView cursorLine column: textView cursorCol
"Created: / 02-10-2013 / 13:32:30 / Jan Vrany <jan.vrany@fit.cvut.cz>"
- "Modified: / 22-05-2014 / 17:00:59 / Jan Vrany <jan.vrany@fit.cvut.cz>"
+ "Modified: / 11-02-2015 / 23:53:04 / Jan Vrany <jan.vrany@fit.cvut.cz>"
!
complete: mode source: source class: class line: lineNrArg column: colNrArg
@@ -417,7 +417,7 @@
lineNr := 1.
colNr := colNrArg.
- line := codeView list at: lineNrArg ifAbsent:[ nil ].
+ line := textView list at: lineNrArg ifAbsent:[ nil ].
line isEmptyOrNil ifTrue:[ ^ nil ].
inferencer := SmalltalkInferencer forExpression: line.
].