diff options
author | Cheryl Sabella <cheryl.sabella@gmail.com> | 2019-07-17 13:44:44 (GMT) |
---|---|---|
committer | Terry Jan Reedy <tjreedy@udel.edu> | 2019-07-17 13:44:44 (GMT) |
commit | 82494aa6d947c4a320c09c58fe0f100cdcf7af0b (patch) | |
tree | 703900861289f38a37b1a2020ebf3c9bc37bd2ea /Lib/idlelib/mainmenu.py | |
parent | fb26504d14a08fcd61bb92bb989b6d2b12188535 (diff) | |
download | cpython-82494aa6d947c4a320c09c58fe0f100cdcf7af0b.zip cpython-82494aa6d947c4a320c09c58fe0f100cdcf7af0b.tar.gz cpython-82494aa6d947c4a320c09c58fe0f100cdcf7af0b.tar.bz2 |
bpo-36390: IDLE: Combine region formatting methods. (GH-12481)
Rename paragraph.py to format.py and add region formatting methods
from editor.py. Add tests for the latter.
Diffstat (limited to 'Lib/idlelib/mainmenu.py')
-rw-r--r-- | Lib/idlelib/mainmenu.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/idlelib/mainmenu.py b/Lib/idlelib/mainmenu.py index 1b8dc47..b0c85cf 100644 --- a/Lib/idlelib/mainmenu.py +++ b/Lib/idlelib/mainmenu.py @@ -60,6 +60,7 @@ menudefs = [ ]), ('format', [ + ('F_ormat Paragraph', '<<format-paragraph>>'), ('_Indent Region', '<<indent-region>>'), ('_Dedent Region', '<<dedent-region>>'), ('Comment _Out Region', '<<comment-region>>'), @@ -68,7 +69,6 @@ menudefs = [ ('Untabify Region', '<<untabify-region>>'), ('Toggle Tabs', '<<toggle-tabs>>'), ('New Indent Width', '<<change-indentwidth>>'), - ('F_ormat Paragraph', '<<format-paragraph>>'), ('S_trip Trailing Whitespace', '<<do-rstrip>>'), ]), |