summaryrefslogtreecommitdiffstats
path: root/Lib/idlelib/editor.py
Commit message (Collapse)AuthorAgeFilesLines
* bpo-27099: IDLE - Convert built-in extensions to regular features (#2494)wohlganger2017-09-101-12/+52
| | | | | | | | | | | | | | | | | | | | | 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-8231: Call idlelib.IdleConf.GetUserCfgDir only once. (#2629)terryjreedy2017-07-081-2/+2
|
* bpo-29910: IDLE no longer deletes a character after commenting out a region ↵Serhiy Storchaka2017-06-271-6/+24
| | | | | | | | | | | (#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
* bpo-24813: IDLE: Add default title to help_about (#2366)csabella2017-06-241-1/+1
| | | Patch by Cheryl Sabella.
* bpo-29919: Remove unused imports found by pyflakes (#137)Victor Stinner2017-03-271-1/+0
| | | Make also minor PEP8 coding style fixes on modified imports.
* Issue #27891: Consistently group and sort imports within idlelib modules.Terry Jan Reedy2016-08-311-20/+21
|
* Issue 27437: Add query.ModuleName and use it for file => Load Module.Terry Jan Reedy2016-07-031-38/+20
| | | | Users can now edit bad entries instead of starting over.
* Issue 27372: Stop test_idle from changing locale, so test passes.Terry Jan Reedy2016-06-261-2/+6
| | | | In 3.6, the warning is now called an error, making it harder to ignore.
* 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 #24759: IDLE requires tk 8.5 and availability ttk widgets.Terry Jan Reedy2016-06-101-7/+4
| | | | Delete now unneeded tk version tests and code for older versions.
* Issue #27156: Remove obsolete code not used by IDLE.Terry Jan Reedy2016-05-301-48/+0
| | | | | | | help.txt, replaced by help.html, is out-of-date and should not be used. Its dedicated viewer has be replaced by the html viewer in help.py. 'import idlever; I = idlever.IDLE_VERSION' is the same as 'import sys; I = version[:version.index(' ')]'
* Issue #27117: Make colorizer htest and turtledemo work with dark theme.Terry Jan Reedy2016-05-291-15/+2
| | | | Factor out code for configuring text widget colors to a new function.
* Issue #24225: Within idlelib files, update idlelib module names.Terry Jan Reedy2016-05-281-58/+71
| | | | | | | | | | | | | | | | 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/+1703