diff options
| author | Cheryl Sabella <cheryl.sabella@gmail.com> | 2021-01-05 02:26:43 -0500 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-01-05 02:26:43 -0500 |
| commit | e40e2a2cc94c554e7e245a8ca5a7432d31a95766 (patch) | |
| tree | 0a93499ae4b22a1993bfa52bfdc6d5d4829bce13 /Lib/idlelib/configdialog.py | |
| parent | 59f9b4e4509be67494f3d45489fa55523175ff69 (diff) | |
| download | cpython-git-e40e2a2cc94c554e7e245a8ca5a7432d31a95766.tar.gz | |
bpo-32631: IDLE: Enable zzdummy example extension module (GH-14491)
Make menu items work with formatter, add docstrings, add 100% tests.
Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu>
Diffstat (limited to 'Lib/idlelib/configdialog.py')
| -rw-r--r-- | Lib/idlelib/configdialog.py | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/Lib/idlelib/configdialog.py b/Lib/idlelib/configdialog.py index a84e1c5668..73e64852c6 100644 --- a/Lib/idlelib/configdialog.py +++ b/Lib/idlelib/configdialog.py @@ -2316,7 +2316,15 @@ display when Code Context is turned on for an editor window. Shell Preferences: Auto-Squeeze Min. Lines is the minimum number of lines of output to automatically "squeeze". -''' +''', + 'Extensions': ''' +ZzDummy: This extension is provided as an example for how to create and +use an extension. Enable indicates whether the extension is active or +not; likewise enable_editor and enable_shell indicate which windows it +will be active on. For this extension, z-text is the text that will be +inserted at or removed from the beginning of the lines of selected text, +or the current line if no selection. +''', } |
