Fixed a bug causing a traceback.

Tue, 24 Jan 2012 19:40:39 +0100

author
Detlev Offenbach <detlev@die-offenbachs.de>
date
Tue, 24 Jan 2012 19:40:39 +0100
changeset 51
b70595b49b3e
parent 50
005b6127b978
child 52
605567761389

Fixed a bug causing a traceback.

AssistantEric/Assistant.py file | annotate | diff | comparison | revisions
PluginAssistantEric.zip file | annotate | diff | comparison | revisions
--- 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():
Binary file PluginAssistantEric.zip has changed

eric ide

mercurial