Show More
@@ -8,6 +8,8 b' from prompt_toolkit.filters.cli import ViMode' | |||||
8 | from prompt_toolkit.keys import Keys |
|
8 | from prompt_toolkit.keys import Keys | |
9 | from prompt_toolkit.key_binding.bindings.completion import display_completions_like_readline |
|
9 | from prompt_toolkit.key_binding.bindings.completion import display_completions_like_readline | |
10 |
|
10 | |||
|
11 | from IPython.utils.decorators import undoc | |||
|
12 | ||||
11 | @Condition |
|
13 | @Condition | |
12 | def cursor_in_leading_ws(cli): |
|
14 | def cursor_in_leading_ws(cli): | |
13 | before = cli.application.buffer.document.current_line_before_cursor |
|
15 | before = cli.application.buffer.document.current_line_before_cursor | |
@@ -151,7 +153,7 b" if sys.platform == 'win32':" | |||||
151 | win32_clipboard_get, |
|
153 | win32_clipboard_get, | |
152 | tkinter_clipboard_get) |
|
154 | tkinter_clipboard_get) | |
153 |
|
155 | |||
154 |
|
156 | @undoc | ||
155 | def win_paste(event): |
|
157 | def win_paste(event): | |
156 | try: |
|
158 | try: | |
157 | text = win32_clipboard_get() |
|
159 | text = win32_clipboard_get() |
General Comments 0
You need to be logged in to leave comments.
Login now