summaryrefslogtreecommitdiffstats
path: root/Lib/idlelib/autocomplete.py
Commit message (Collapse)AuthorAgeFilesLines
* bpo-45495: Add 'case' and 'match' to IDLE completions list. (GH-29000)Terry Jan Reedy2021-10-161-3/+7
| | | | Since the keyword list is frozen, only compute it once per session. The colorizer already handles context keywords.
* bpo-37903: IDLE: add shell sidebar mouse interactions (GH-25708)Tal Einat2021-05-031-2/+3
| | | | | | 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-37765: Add keywords to IDLE tab completions (GH-15138)Terry Jan Reedy2020-07-091-1/+5
| | | | | | | Keywords are present in the main module tab completion lists generated by rlcompleter, which is used by REPLs on *nix. Add all keywords to IDLE's main module name list except those already added from builtins (True, False, and None) . This list may also be used by Show Completions on the Edit menu, and its hot key. Rewrite Completions doc. Co-authored-by: Cheryl Sabella <cheryl.sabella@gmail.com>
* bpo-36419: IDLE - Refactor autocompete and improve testing. (#15121)Terry Jan Reedy2019-08-041-64/+49
|
* bpo-30348: IDLE: Add test_autocomplete unittest (GH-2209)Louie Lu2019-03-241-6/+11
|
* bpo-36405: IDLE - Restore __main__ and add tests (#12518)Terry Jan Reedy2019-03-241-3/+5
| | | | Fix error in commit 2b75155 noticed by Serhiy Storchaka.
* bpo-36405: Use dict unpacking in idlelib (#12507)Terry Jan Reedy2019-03-231-7/+3
| | | Remove now unneeded imports.
* bpo-33855: Minimally test all IDLE modules. (GH-7689)Terry Jan Reedy2018-06-151-1/+0
| | | | 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.
* bpo-27099: IDLE - Convert built-in extensions to regular features (#2494)wohlganger2017-09-101-13/+12
| | | | | | | | | | | | | | | | | | | | | About 10 IDLE features were implemented as supposedly optional extensions. Their different behavior could be confusing or worse for users and not good for maintenance. Hence the conversion. The main difference for users is that user configurable key bindings for builtin features are now handled uniformly. Now, editing a binding in a keyset only affects its value in the keyset. All bindings are defined together in the system-specific default keysets in config- extensions.def. All custom keysets are saved as a whole in config- extension.cfg. All take effect as soon as one clicks Apply or Ok. The affected events are '<<force-open-completions>>', '<<expand-word>>', '<<force-open-calltip>>', '<<flash-paren>>', '<<format-paragraph>>', '<<run-module>>', '<<check-module>>', and '<<zoom-height>>'. Any (global) customizations made before 3.6.3 will not affect their keyset- specific customization after 3.6.3. and vice versa. Inital patch by Charles Wohlganger, revised by Terry Jan Reedy.
* bpo-29910: IDLE no longer deletes a character after commenting out a region ↵Serhiy Storchaka2017-06-271-0/+1
| | | | | | | | | | | (#825) This happened because shortcut has a class binding and 'break' was not returned. Fix other potential conflicts between IDLE and default key bindings. * Add news item * Update NEWS
* Issue #27891: Consistently group and sort imports within idlelib modules.Terry Jan Reedy2016-08-311-8/+9
|
* Issue #19198: IDLE: tab after initial whitespace should tab, not autocomplete.Terry Jan Reedy2016-07-251-4/+5
| | | | Fixes problem with writing docstrings at lease twice indented.
* Issue #27609: Explicitly return None when there are other returns.Terry Jan Reedy2016-07-251-18/+15
| | | | In a few cases, reverse a condition and eliminate a return.
* Issue #27171: Merge typo fixes from 3.5Martin Panter2016-06-021-1/+1
|
* 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/+233