AssistantEric/Assistant.py

changeset 41
333735b1a460
parent 39
7b6ca9397ecc
child 42
2489ae0286ef
diff -r f22c4a330026 -r 333735b1a460 AssistantEric/Assistant.py
--- a/AssistantEric/Assistant.py	Sat Oct 01 16:47:20 2011 +0200
+++ b/AssistantEric/Assistant.py	Sun Oct 02 14:37:06 2011 +0200
@@ -285,6 +285,9 @@
                 col -= 1
         
         word = editor.getWordLeft(line, col)
+        if context and not sep:
+            # no separator was found -> no context completion
+            context = False
         if context:
             self.__lastContext = word
         else:

eric ide

mercurial