AssistantEric/Assistant.py

changeset 45
7046451092fb
parent 43
263a7d088c75
child 46
5e928f308f55
--- a/AssistantEric/Assistant.py	Sun Oct 02 18:41:50 2011 +0200
+++ b/AssistantEric/Assistant.py	Mon Oct 03 13:12:36 2011 +0200
@@ -308,7 +308,7 @@
             else:
                 while col > 0 and beg[col - 1] not in wsep:
                     col -= 1
-                if col >= 0:
+                if col >= 0 and beg[col - 1] != " ":
                     col -= 1
             prefix = editor.getWordLeft(line, col)
             if editor.isPy2File() or editor.isPy3File():

eric ide

mercurial