Tue, 24 Jan 2012 19:40:39 +0100
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():