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