summaryrefslogtreecommitdiff
path: root/Lib/idlelib/autocomplete.py
Commit message (Collapse)AuthorAgeFilesLines
* bpo-36419: IDLE - Refactor autocompete and improve testing. (GH-15121)Miss Islington (bot)2019-08-041-64/+49
| | | | | (cherry picked from commit 1213123005d9f94bb5027c0a5256ea4d3e97b61d) Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu>
* bpo-30348: IDLE: Add test_autocomplete unittest (GH-2209)Miss Islington (bot)2019-03-241-6/+11
| | | | | (cherry picked from commit 113d735e2091427f9623097d2a222dd99b16b568) Co-authored-by: Louie Lu <git@louie.lu>
* bpo-36405: IDLE - Restore __main__ and add tests (GH-12518)Miss Islington (bot)2019-03-241-3/+5
| | | | | | Fix error in commit 2b75155 noticed by Serhiy Storchaka. (cherry picked from commit 0fe4513d9a5510ae91c0da7eb0433f79a6d4dda9) Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu>
* bpo-36405: Use dict unpacking in idlelib (GH-12507)Miss Islington (bot)2019-03-231-7/+3
| | | | | | Remove now unneeded imports. (cherry picked from commit 2b75155590eb42d25e474b776ee9fdcc4b3dc840) Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu>
* bpo-33855: Minimally test all IDLE modules. (GH-7689)Miss Islington (bot)2018-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. (cherry picked from commit ee5ef309c7e2daef1248730145408f700732c42e) Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu>
* 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-241-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-241-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