From 1f3c4700c9c581bf3f64cf570989788636f259d6 Mon Sep 17 00:00:00 2001 From: Takafumi Arakaki Date: Fri, 24 May 2013 22:09:24 +0200 Subject: [PATCH] Fix get_path_until_cursor for empty path + continuation --- jedi/modules.py | 1 + 1 file changed, 1 insertion(+) diff --git a/jedi/modules.py b/jedi/modules.py index 46195c80..c583ec5f 100644 --- a/jedi/modules.py +++ b/jedi/modules.py @@ -188,6 +188,7 @@ class ModuleWithCursor(Module): elif token_type == tokenize.NUMBER: pass else: + self._column_temp = self._line_length - end[1] break self._column_temp = self._line_length - end[1]