diff options
author | Tal Einat <532281+taleinat@users.noreply.github.com> | 2021-05-03 02:27:38 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-05-03 02:27:38 (GMT) |
commit | b43cc31a270d0dacbc69e35d6c6fbdb5edd7e711 (patch) | |
tree | f656c691cf80d2b927037808ea51d4f75ae20a16 /Lib/idlelib/editor.py | |
parent | 90d523910a61290597b4599f17363b532f0a4411 (diff) | |
download | cpython-b43cc31a270d0dacbc69e35d6c6fbdb5edd7e711.zip cpython-b43cc31a270d0dacbc69e35d6c6fbdb5edd7e711.tar.gz cpython-b43cc31a270d0dacbc69e35d6c6fbdb5edd7e711.tar.bz2 |
bpo-37903: IDLE: add shell sidebar mouse interactions (GH-25708)
Left click and drag to select lines. With selection, right click for context menu with copy and copy-with-prompts.
Also add copy-with-prompts to the text-box context menu.
Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu>
Diffstat (limited to 'Lib/idlelib/editor.py')
-rw-r--r-- | Lib/idlelib/editor.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/idlelib/editor.py b/Lib/idlelib/editor.py index 8b54440..fcc8a3f 100644 --- a/Lib/idlelib/editor.py +++ b/Lib/idlelib/editor.py @@ -311,7 +311,7 @@ class EditorWindow: # Former extension bindings depends on frame.text being packed # (called from self.ResetColorizer()). - autocomplete = self.AutoComplete(self) + autocomplete = self.AutoComplete(self, self.user_input_insert_tags) text.bind("<<autocomplete>>", autocomplete.autocomplete_event) text.bind("<<try-open-completions>>", autocomplete.try_open_completions_event) |