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