summaryrefslogtreecommitdiffstats
path: root/Lib/idlelib/outwin.py
Commit message (Collapse)AuthorAgeFilesLines
* bpo-41152: IDLE: always use UTF-8 for standard IO streams (GH-21214)Miss Islington (bot)2020-06-301-3/+1
| | | | | (cherry picked from commit 2515a28230b1a011205f30263da6b01c6bd167a3) Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
* bpo-17535: IDLE editor line numbers (GH-14030)Tal Einat2019-07-231-3/+1
|
* bpo-37530: simplify, optimize and clean up IDLE code context (GH-14675)Tal Einat2019-07-171-0/+2
| | | | | | | | | | | * Only create CodeContext instances for "real" editors windows, but not e.g. shell or output windows. * Remove configuration update Tk event fired every second, by having the editor window ask its code context widget to update when necessary, i.e. upon font or highlighting updates. * When code context isn't being shown, avoid having a Tk event fired every 100ms to check whether the code context needs to be updated. * Use the editor window's getlineno() method where applicable. * Update font of the code context widget before the main text widget
* IDLE: Create function to update menu item state. (GH-11343)Cheryl Sabella2018-12-281-2/+1
| | | | This will be needed for other menu items. Change outwin to call the function instead of updating the menu item directly.
* bpo-35555: IDLE: Gray out Code Context menu item on non-editors (#11282)Cheryl Sabella2018-12-231-0/+2
| | | The Code Context menu item only works on Editor windows so disable it for others.
* bpo-34864: warn if "Prefer tabs when opening documents" set to "Always" (#10464)Tal Einat2018-12-071-1/+1
| | | | | | | | | | | | * bpo-34864: warn if "Prefer tabs when opening documents" set to "Always" * add NEWS entry * address code review comments * address second code review comments * Add entry for idlelib/NEWS.txt.
* bpo-33855: Still more edits and minimal tests for IDLE (GH-7784)Terry Jan Reedy2018-06-191-2/+2
| | | | | Part 3 of 3, continuing PR #7689. This covers 14 idlelib modules and their tests, rpc to zoomheight except for run (already done) and tooltip (being done separately).
* bpo-27099: IDLE - Convert built-in extensions to regular features (#2494)wohlganger2017-09-101-0/+1
| | | | | | | | | | | | | | | | | | | | | 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-30617: IDLE: docstrings and unittest for outwin.py (#2046)Cheryl Sabella2017-08-271-62/+102
| | | Move some data and functions from the class to module level. Patch by Cheryl Sabella.
* Issue #27891: Consistently group and sort imports within idlelib modules.Terry Jan Reedy2016-08-311-2/+5
|
* Issue #24225: Within idlelib files, update idlelib module names.Terry Jan Reedy2016-05-281-3/+3
| | | | | | | | | | | | | | | | 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/+144