summaryrefslogtreecommitdiffstats
path: root/Lib/idlelib/autocomplete_w.py
Commit message (Collapse)AuthorAgeFilesLines
* bpo-40128: Fix IDLE autocomplete on macOS (GH-26672)Miss Islington (bot)2021-06-111-0/+1
| | | | | | | | In particular, when running with tk8.6.8, as in PSF 3.9. Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu> (cherry picked from commit 3ec3ee7d2e9b45b586e486e429b412d6d0ca530f) Co-authored-by: Kaustubh J <kaustubhkj@gmail.com>
* bpo-41611: IDLE: Catch TclError exceptions in ↵Miss Islington (bot)2021-05-281-27/+36
| | | | | | | | | AutoCompleteWindow.winconfig_event() (GH-26404) Since the <Configure> event may occur after the completion window is gone, catch potential TclError exceptions when accessing acw. (cherry picked from commit 4e2e5c1c4f792b4011e4c78d011baea2aee39f1b)
* bpo-41611: IDLE: fix freezing on completion on macOS (GH-26400)Miss Islington (bot)2021-05-271-1/+7
| | | | | (cherry picked from commit abc4bd5db91c86b6b74289241378a13bd3a0a5e2) Co-authored-by: Tal Einat <532281+taleinat@users.noreply.github.com>
* bpo-37903: IDLE: add shell sidebar mouse interactions (GH-25708)Tal Einat2021-05-031-2/+5
| | | | | | 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>
* bpo-40443: Remove unused imports in idlelib (GH-19801)Victor Stinner2020-04-301-1/+1
|
* bpo-38943: Fix IDLE autocomplete window not always appearing (GH-17416)JohnnyNajera2019-12-101-0/+1
| | | This has happened on some versions of Ubuntu.
* bpo-38944: Escape key now closes IDLE completion windows. (GH-17419)JohnnyNajera2019-12-091-1/+1
|
* bpo-37849: IDLE: fix completion window positioning above line (GH-15267)Tal Einat2019-08-141-2/+13
|
* bpo-36419: IDLE - Refactor autocompete and improve testing. (#15121)Terry Jan Reedy2019-08-041-14/+18
|
* bpo-36176: Fix IDLE autocomplete & calltip popup colors. (#12262)Terry Jan Reedy2019-03-111-1/+1
| | | | Prevent conflicts with Linux dark themes (and slightly darken calltip background).
* bpo-33987: IDLE - use ttk Frame for ttk widgets (GH-11395)Terry Jan Reedy2019-01-031-1/+1
|
* bpo-33924: Change IDLE mainmenu.menudefs key 'windows' to 'window' (GH-7836)Terry Jan Reedy2018-06-211-2/+2
| | | | | Every other menudef key is the lowercase version of the corresponding main menu entry (in this case, 'Window').
* bpo-33855: Minimally test all IDLE modules. (GH-7689)Terry Jan Reedy2018-06-151-0/+7
| | | | Create a template for minimally testing a tkinter-using module by importing it and instantiating its class(es). Add a test file for all non-startup IDLE modules. Edit existing files and update coverage. This is part 1 of 3, covering the 21 autocomplete to help modules and touching 33 idlelib files.
* Fix idlelib comment typos reported by Mike on pull request 4803. (#4807)Terry Jan Reedy2017-12-121-1/+1
|
* bpo-15786: Fix IDLE autocomplete return problem. (#2198)terryjreedy2017-06-141-1/+2
| | | Before, <return> would not, for instance, complete 're.c' to 're.compile' even with 'compile' highlighted. Now it does. Before, <return> was inserted into text, which in Shell meant compile() and possibly execute. Now cursor is left after completion.
* bpo-15786: IDLE: Fix mouse clicks on autocompletetion window (#1811)mlouielu2017-06-141-8/+50
| | | | | | | | | | | | | | | | | | | The root problem was non-check for hide_event. When user clicks on autocomplete window (acw), root widget gets focusOut event, then triggers hide_window to close the acw. It should only be hide when acw is active, and acw didn't get focus at FocusOut event (this event bind on acw and widget), or when widget get a ButtonPress event (this event only bind on widget). MacOS froze after double click on acw because when doubleclick_event try to hide window at the end, hide_window function destory whole acw, but tkinter didn't get focus back to widget. So set focus on widget first, then destory acw. Windows could not respond on double click event, because of the misbehavior of Configure event. When acw was shown, tkinter called winconfig event multiple times. That caused tkinter to not response to double click event. When on Windows, unbind Configure event first time get into winconfig_event to prevent multiple call of this event.
* Issue #27891: Consistently group and sort imports within idlelib modules.Terry Jan Reedy2016-08-311-1/+2
|
* Issue #19198: IDLE: tab after initial whitespace should tab, not autocomplete.Terry Jan Reedy2016-07-251-3/+2
| | | | Fixes problem with writing docstrings at lease twice indented.
* Issue #27609: Explicitly return None when there are other returns.Terry Jan Reedy2016-07-251-12/+12
| | | | In a few cases, reverse a condition and eliminate a return.
* Issue *24750: Switch all scrollbars in IDLE to ttk versions.Terry Jan Reedy2016-06-101-0/+1
| | | | Where needed, add minimal tests to cover changes.
* Issue #24225: Within idlelib files, update idlelib module names.Terry Jan Reedy2016-05-281-5/+5
| | | | | | | | | | | | | | | | This follows the previous patch that changed idlelib file names. Class names that matched old module names are not changed. Change idlelib imports in turtledemo.__main__. Exception: config-extensions.def. Previously, extension section names, file names, and class names had to match. Changing section names would create cross-version conflicts in config-extensions.cfg (user customizations). Instead map old names to new file names at point of import in editor.EditorWindow.load_extension. Patch extensively tested with test_idle, idle_test.htest.py, a custom import-all test, running IDLE in a console to catch messages, and testing each menu item. Based on a patch by Al Sweigart.
* Issue #24225: Rename many idlelib/*.py and idlelib/idle_test/test_*.py files.Terry Jan Reedy2016-05-221-0/+416