306 if col > 0 and beg[col - 1] in wsep: |
306 if col > 0 and beg[col - 1] in wsep: |
307 col -= 1 |
307 col -= 1 |
308 else: |
308 else: |
309 while col > 0 and beg[col - 1] not in wsep: |
309 while col > 0 and beg[col - 1] not in wsep: |
310 col -= 1 |
310 col -= 1 |
311 if col >= 0: |
311 if col >= 0 and beg[col - 1] != " ": |
312 col -= 1 |
312 col -= 1 |
313 prefix = editor.getWordLeft(line, col) |
313 prefix = editor.getWordLeft(line, col) |
314 if editor.isPy2File() or editor.isPy3File(): |
314 if editor.isPy2File() or editor.isPy3File(): |
315 src = editor.text() |
315 src = editor.text() |
316 fn = editor.getFileName() |
316 fn = editor.getFileName() |