]> granicus.if.org Git - python/commit
bpo-36390: IDLE: Combine region formatting methods. (GH-12481) (GH-14811)
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Wed, 17 Jul 2019 14:45:20 +0000 (07:45 -0700)
committerTerry Jan Reedy <tjreedy@udel.edu>
Wed, 17 Jul 2019 14:45:20 +0000 (10:45 -0400)
commit1fc43a3fafd22eb20832459654fd125f12aa3738
treef6616df7267db0bd13ac4ba795b8079b4c392b46
parent6cf7c45cb5691b75d9a774c904df02a4f8bfcd04
bpo-36390: IDLE: Combine region formatting methods. (GH-12481) (GH-14811)

Rename paragraph.py to format.py and add region formatting methods
from editor.py.  Add tests for the latter.
(cherry picked from commit 82494aa6d947c4a320c09c58fe0f100cdcf7af0b)

Co-authored-by: Cheryl Sabella <cheryl.sabella@gmail.com>
Lib/idlelib/configdialog.py
Lib/idlelib/editor.py
Lib/idlelib/format.py [new file with mode: 0644]
Lib/idlelib/idle_test/test_format.py [moved from Lib/idlelib/idle_test/test_paragraph.py with 64% similarity]
Lib/idlelib/mainmenu.py
Lib/idlelib/paragraph.py [deleted file]
Misc/NEWS.d/next/IDLE/2019-03-21-08-35-00.bpo-36390.OdDCGk.rst [new file with mode: 0644]