Show More
@@ -1340,7 +1340,6 b' class IPCompleter(Completer):' | |||
|
1340 | 1340 | namespaces.append(self.global_namespace) |
|
1341 | 1341 | |
|
1342 | 1342 | completion_filter = lambda x:x |
|
1343 | # cursor_pos is an it, jedi wants line and column | |
|
1344 | 1343 | offset = cursor_to_position(text, cursor_line, cursor_column) |
|
1345 | 1344 | # filter output if we are completing for object members |
|
1346 | 1345 | if offset: |
@@ -1356,7 +1355,7 b' class IPCompleter(Completer):' | |||
|
1356 | 1355 | raise ValueError("Don't understand self.omit__names == {}".format(self.omit__names)) |
|
1357 | 1356 | |
|
1358 | 1357 | interpreter = jedi.Interpreter( |
|
1359 | text, namespaces, column=cursor_column, line=cursor_line + 1) | |
|
1358 | text[:offset], namespaces, column=cursor_column, line=cursor_line + 1) | |
|
1360 | 1359 | try_jedi = True |
|
1361 | 1360 | |
|
1362 | 1361 | try: |
General Comments 0
You need to be logged in to leave comments.
Login now