mirror of
https://github.com/python/cpython.git
synced 2025-08-22 17:55:18 +00:00
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>
This commit is contained in:
parent
90d523910a
commit
b43cc31a27
10 changed files with 384 additions and 230 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue