Corrected the context completion.

Sun, 02 Oct 2011 14:37:06 +0200

author
Detlev Offenbach <detlev@die-offenbachs.de>
date
Sun, 02 Oct 2011 14:37:06 +0200
changeset 41
333735b1a460
parent 40
f22c4a330026
child 42
2489ae0286ef

Corrected the context completion.

AssistantEric/Assistant.py file | annotate | diff | comparison | revisions
--- 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