AssistantEric/Assistant.py

changeset 51
b70595b49b3e
parent 50
005b6127b978
child 54
89d28458ff40
diff -r 005b6127b978 -r b70595b49b3e AssistantEric/Assistant.py
--- a/AssistantEric/Assistant.py	Mon Dec 26 19:34:03 2011 +0100
+++ b/AssistantEric/Assistant.py	Tue Jan 24 19:40:39 2012 +0100
@@ -305,7 +305,7 @@
             else:
                 while col > 0 and beg[col - 1] not in wsep:
                     col -= 1
-                if col >= 0 and beg[col - 1] != " ":
+                if col > 0 and beg[col - 1] != " ":
                     col -= 1
             prefix = editor.getWordLeft(line, col)
             if editor.isPy2File() or editor.isPy3File():

eric ide

mercurial