Show More
@@ -2055,8 +2055,8 b' class IPCompleter(Completer):' | |||
|
2055 | 2055 | # if text is either None or an empty string, rely on the line buffer |
|
2056 | 2056 | if (not line_buffer) and full_text: |
|
2057 | 2057 | line_buffer = full_text.split('\n')[cursor_line] |
|
2058 | if not text: | |
|
2059 | text = self.splitter.split_line(line_buffer, cursor_pos) | |
|
2058 | if not text: # issue #11508: check line_buffer before calling split_line | |
|
2059 | text = self.splitter.split_line(line_buffer, cursor_pos) if line_buffer else '' | |
|
2060 | 2060 | |
|
2061 | 2061 | if self.backslash_combining_completions: |
|
2062 | 2062 | # allow deactivation of these on windows. |
General Comments 0
You need to be logged in to leave comments.
Login now