summaryrefslogtreecommitdiffstats
path: root/Lib/idlelib/configdialog.py
Commit message (Collapse)AuthorAgeFilesLines
* bpo-35675: IDLE - separate config_key window and frame (#11427)Cheryl Sabella2022-09-301-2/+2
| | | | | bpo-35598: IDLE: Refactor window and frame class Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu>
* gh-78143: IDLE - fix settings dialog page label. (#96009)Terry Jan Reedy2022-08-151-1/+1
| | | | '/Tab' should have been removed from the font page label when the tab-spaces setting was moved to the Windows page.
* gh-84623: Remove unused imports in stdlib (#93773)Victor Stinner2022-06-131-1/+1
|
* bpo-46996: IDLE: Drop workarounds for old Tk versions (GH-31962)Serhiy Storchaka2022-03-191-1/+1
|
* bpo-33962: Use ttk spinbox for IDLE indent space config (GH-22954)Mark Roseman2021-06-101-94/+62
| | | | | If ttk.Spinbox is not available (Tk < 8.5.9) use readonly ttk.Combobox. Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu>
* bpo-40468: Split IDLE settings General tab (GH-26621)Terry Jan Reedy2021-06-091-128/+147
| | | | | | | Replace it with Windows tab for Shell and Editor options and Shell/Ed for options exclusive to one of them. Create room for more options and make dialog shorter, to better fit small windows.
* bpo-40468: Factor out class ExtPage in idlelib.configdialog (GH-26618)Terry Jan Reedy2021-06-091-199/+204
|
* bpo-40468: Move IDLE helplist settings to extensions page of dialog. (GH-26593)Terry Jan Reedy2021-06-081-54/+86
| | | | These are the settings that extend the help menu. Moving them shortens the dialog and will help with it being too tall for small screens.
* bpo-43013: Fix old tkinter module names in idlelib (GH-24326)Terry Jan Reedy2021-01-251-5/+5
| | | | | | Lowercase 'tkColorChooser', 'tkFileDialog', 'tkSimpleDialog', and 'tkMessageBox' and remove 'tk'. Just lowercase 'tkFont' as 'font' is already used. Adjust import.
* bpo-32631: IDLE: Enable zzdummy example extension module (GH-14491)Cheryl Sabella2021-01-051-1/+9
| | | | | Make menu items work with formatter, add docstrings, add 100% tests. Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu>
* bpo-33987: Use master ttk Frame for IDLE config dialog (GH-22943)Mark Roseman2020-10-241-5/+7
|
* bpo-40443: Remove unused imports in idlelib (GH-19801)Victor Stinner2020-04-301-1/+1
|
* bpo-39600: Adjust code, add idlelib/NEWS item (GH-18449)Terry Jan Reedy2020-02-111-4/+2
| | | Complete previous patch.
* bpo-39600, IDLE: Remove duplicated font names (GH-18430)Victor Stinner2020-02-101-2/+3
| | | In the font configuration window, remove duplicated font names.
* bpo-30780: Add IDLE configdialog tests (#3592)Cheryl Sabella2020-01-271-9/+9
| | | | | | | Expose dialog buttons to test code and complete their test coverage. Complete test coverage for highlights and keys tabs. Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu>
* bpo-39388: IDLE: Fix bug when cancelling out of configdialog (GH-18068)Cheryl Sabella2020-01-251-0/+1
| | | | Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu>
* bpo-39050: The Help button in IDLE's config menu works again (GH-17611)Zackery Spytz2020-01-231-1/+1
| | | | Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu>
* bpo-4630: Add cursor no-blink option for IDLE (GH-16960)Zackery Spytz2019-11-131-0/+17
| | | This immediately toggles shell, editor, and output windows, but does not affect other input widgets.
* Fix idlelib typos discovered by min ho, pr 15018. (GH-15029)Terry Jan Reedy2019-07-301-1/+1
|
* bpo-37692: Improve highlight config sample (#14983)Terry Jan Reedy2019-07-281-18/+17
| | | Use an example shell interaction in the sample and better labels for shell elements.
* bpo-37628: Fix IDLE config sample sizes (#14958)Tal Einat2019-07-271-9/+15
| | | | The boxes for the font and highlight samples are now constrained by the overall config dialog size. They gain scrollbars when the when a large font size makes the samples too large for the box.
* bpo-17535: IDLE editor line numbers (GH-14030)Tal Einat2019-07-231-0/+26
|
* bpo-33610: validate non-negative integer inputs in IDLE's config (GH-14822)Tal Einat2019-07-231-7/+31
|
* bpo-36390: IDLE: Combine region formatting methods. (GH-12481)Cheryl Sabella2019-07-171-1/+1
| | | | | Rename paragraph.py to format.py and add region formatting methods from editor.py. Add tests for the latter.
* IDLE: Fix typos in docs and comments (GH-13749)Xtreak2019-06-031-1/+1
|
* bpo-36766: Typos in docs and code comments (GH-13116)penguindustin2019-05-061-1/+1
|
* bpo-36396: Remove fgBg param of idlelib.config.GetHighlight() (GH-12491)Terry Jan Reedy2019-03-221-1/+1
| | | | This param was only used once and changed the return type.
* bpo-33987: IDLE - use ttk Frame for ttk widgets (GH-11395)Terry Jan Reedy2019-01-031-1/+1
|
* bpo-1529353: IDLE: squeeze large output in the shell (GH-7626)Tal Einat2018-09-251-4/+35
|
* bpo-34120: fix IDLE freezing after closing dialogs (GH-8603)Tal Einat2018-08-021-0/+1
| | | | Added missing .grab_release() calls to all places where we call .grab_set().
* bpo-33855: Still more edits and minimal tests for IDLE (GH-7784)Terry Jan Reedy2018-06-191-3/+3
| | | | | 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-33656: On Windows, add API call saying that tk scales for DPI (GH-7137)Terry Jan Reedy2018-06-111-3/+4
| | | | | | | | | | | | On Windows 8.1+ or 10, with DPI compatibility properties of the Python binary unchanged, and a monitor resolution greater than 96 DPI, this should make text and lines sharper. It should otherwise have no effect. Using a magnifier, I determined that the improvement comes from horizontal and lines being better lined up with the monitor pixels. I checked that this call causes no problem on any Windows buildbot, including the Win7 buildbots. Unlike most IDLE patches, this one can be easily reverted by users by removing a few lines, at the top of idlelib/pyshell.py.
* bpo-33679: IDLE: Re-enable color configuration for code context (GH-7199)Cheryl Sabella2018-06-021-13/+15
| | | | | | | | | | | | | The difference from before is that the settings are now on the Highlights tab instead of the Extensions tab and only change one theme at a time instead of all themes. The default for light themes is black on light gray, as before. The default for the IDLE Dark theme is white on dark gray, which better fits the dark theme. When one starts IDLE from a console and loads a custom theme without definitions for 'context', one will see a warning message on the console. To stop the warning, go to Options => Configure IDLE => Highlights, select the custom theme if not selected already, select 'Code Context', and select foreground and background colors.
* bpo-33642: IDLE: Use variable number of lines in CodeContext. (GH-7106)Cheryl Sabella2018-06-011-3/+6
| | | | | | | | | | Instead of displaying a fixed number of lines, some blank, Code Context now displays the variable number of actual context lines. When there are no context lines, it shows a single blank line to indicate that the feature is turned on. The Code Context configuration option is changed from 'numlines' (default 3) to 'maxlines' (default 15) to avoid possible interference between user settings for the old and new versions of Code Context.
* bpo-32765: Update configdialog General tab create page docstring (GH-5529)Cheryl Sabella2018-02-041-0/+16
| | | Add new entries to the widget list.
* bpo-32746: Fix multiple typos (GH-5144)Leo Arias2018-02-041-2/+2
| | | Fix typos found by codespell in docs, docstrings, and comments.
* bpo-30781: Remove unused imports in idlelib.configdialog. (#4627)Terry Jan Reedy2017-11-291-4/+3
|
* bpo-31860: Make the font sample in the IDLE font configuration dialog ↵Serhiy Storchaka2017-10-281-31/+40
| | | | | editable. (#4106) Changes persist while IDLE remains open
* bpo-13802: Use non-Latin characters in IDLE's Font settings sample. (#3960)Terry Jan Reedy2017-10-171-19/+61
| | | | | | | | | | Even if one selects a font that defines a limited subset of the unicode Basic Multilingual Plane, tcl/tk will use other fonts that define a character. The expanded example give users of non-Latin characters a better idea of what they might see in the IDLE shell and editors. To make room for the expanded sample, frames on the Font tab are re-arranged. The Font/Tabs help explains a bit about the additions.
* bpo-31649: Make IDLE's _htest, _utest parameters keyword-only. (#3839)Terry Jan Reedy2017-09-301-1/+1
|
* bpo-31500: Removed fixed size of IDLE config dialog. (#3664)Terry Jan Reedy2017-09-191-1/+1
| | | This one line of Serhiy Storchacka's bpo-31500 patch for is needed for other issues.
* bpo-31502: IDLE Configdialog again deletes custom themes and keysets. (#3634)Terry Jan Reedy2017-09-181-2/+2
| | | This reverses a never-released regression resulting from bpo-31287.
* bpo-31488: IDLE - update former extensions when options change. (#3612)Terry Jan Reedy2017-09-161-0/+8
| | | | | When apply changes, call .reload on each class with non-key options. Change ParenMatch so that updates affect current instances.
* bpo-30781: IDLE: Fix help button on configdialog (#3238)Cheryl Sabella2017-09-111-3/+3
| | | | | This fixes an omission in the ttk conversion patch for this issue, hence no new news. Patch by Cheryl Sabella.
* bpo-27099: IDLE - Convert built-in extensions to regular features (#2494)wohlganger2017-09-101-17/+99
| | | | | | | | | | | | | | | | | | | | | 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-31051: Rearrange IDLE condigdialog GenPage into Window, Editor, and ↵Terry Jan Reedy2017-08-301-38/+45
| | | | Help sections. (#3239)
* bpo-31287: IDLE - do not alter tkinter.messagebox in configdialog tests. (#3220)Terry Jan Reedy2017-08-271-3/+11
|
* bpo-30781: IDLE - use ttk widgets in configdialog (#2654)Cheryl Sabella2017-08-261-55/+54
| | | Patch by Cheryl Sabella.
* bpo-31206: IDLE: Factor HighPage class from ConfigDialog (#3160)Cheryl Sabella2017-08-201-657/+0
| | | Part 3 of 3. Remove old highlight functions and load_config as this functionality is now contained within classes. Patch by Cheryl Sabella.
* bpo-31206: IDLE: Factor HighPage class from ConfigDialog (#3156)Cheryl Sabella2017-08-201-11/+9
| | | Patch 2 of 3, to avoid horrendous diff. Create highlights page from new HighPage class instead of old ConfigDialog methods and change tests to match.