From d1a35decde5969c3e2500b03383bcc059b535a9d Mon Sep 17 00:00:00 2001 From: Terry Jan Reedy Date: Sat, 30 Jul 2022 15:12:01 -0400 Subject: [PATCH 1/5] gh-95471: IDLE - Tweak Edit menu Move `Select All` above `Cut` as it is used with `Cut` and `Copy` but not `Paste`. Add a separator between `Replace` and `Go to Line` to show IDLE issue triagers the separation between 'Edit-find' and 'Edit-show' topics. --- .../next/IDLE/2022-07-30-15-10-39.gh-issue-95471.z3scVG.rst | 3 +++ 1 file changed, 3 insertions(+) create mode 100644 Misc/NEWS.d/next/IDLE/2022-07-30-15-10-39.gh-issue-95471.z3scVG.rst diff --git a/Misc/NEWS.d/next/IDLE/2022-07-30-15-10-39.gh-issue-95471.z3scVG.rst b/Misc/NEWS.d/next/IDLE/2022-07-30-15-10-39.gh-issue-95471.z3scVG.rst new file mode 100644 index 00000000000000..4ea577b42a6ea1 --- /dev/null +++ b/Misc/NEWS.d/next/IDLE/2022-07-30-15-10-39.gh-issue-95471.z3scVG.rst @@ -0,0 +1,3 @@ +Move `Select All` above `Cut` as it is used with `Cut` and `Copy` but not +`Paste`. Add a separator between `Replace` and `Go to Line` to help IDLE +issue triagers. From 82a0c9fac02e6f88eb5914a2f9dca8f650ad8afc Mon Sep 17 00:00:00 2001 From: Terry Jan Reedy Date: Sat, 30 Jul 2022 15:13:21 -0400 Subject: [PATCH 2/5] mainmenu change --- Lib/idlelib/mainmenu.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Lib/idlelib/mainmenu.py b/Lib/idlelib/mainmenu.py index a1b169176cba92..429c8660ce0daa 100644 --- a/Lib/idlelib/mainmenu.py +++ b/Lib/idlelib/mainmenu.py @@ -42,16 +42,17 @@ ('_Undo', '<>'), ('_Redo', '<>'), None, + ('Select _All', '<>'), ('Cu_t', '<>'), ('_Copy', '<>'), ('_Paste', '<>'), - ('Select _All', '<>'), None, ('_Find...', '<>'), ('Find A_gain', '<>'), ('Find _Selection', '<>'), ('Find in Files...', '<>'), ('R_eplace...', '<>'), + None, ('Go to _Line', '<>'), ('S_how Completions', '<>'), ('E_xpand Word', '<>'), From ac9a1227ded25df863a4a1ab38efed325cee8b55 Mon Sep 17 00:00:00 2001 From: Terry Jan Reedy Date: Sat, 30 Jul 2022 17:08:20 -0400 Subject: [PATCH 3/5] News item. --- Lib/idlelib/NEWS.txt | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Lib/idlelib/NEWS.txt b/Lib/idlelib/NEWS.txt index 1d3110413bb36d..dc506dccfe99aa 100644 --- a/Lib/idlelib/NEWS.txt +++ b/Lib/idlelib/NEWS.txt @@ -4,6 +4,10 @@ Released on 2022-10-03 ========================= +gh-95471: Tweak Edit menu. Move 'Select All' above 'Cut' as it is used +with 'Cut' and 'Copy' but not 'Paste'. Add a separator between 'Replace' +and 'Go to Line' to help IDLE issue triagers. + gh-95411: Enable using IDLE's module browser with .pyw files. gh-89610: Add .pyi as a recognized extension for IDLE on macOS. This allows From 7e65a999b7548c85290d3c5245fd3663324df2b3 Mon Sep 17 00:00:00 2001 From: Terry Jan Reedy Date: Sat, 30 Jul 2022 17:18:28 -0400 Subject: [PATCH 4/5] Revise blurb. --- .../next/IDLE/2022-07-30-15-10-39.gh-issue-95471.z3scVG.rst | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Misc/NEWS.d/next/IDLE/2022-07-30-15-10-39.gh-issue-95471.z3scVG.rst b/Misc/NEWS.d/next/IDLE/2022-07-30-15-10-39.gh-issue-95471.z3scVG.rst index 4ea577b42a6ea1..cd48c3ec6ced1e 100644 --- a/Misc/NEWS.d/next/IDLE/2022-07-30-15-10-39.gh-issue-95471.z3scVG.rst +++ b/Misc/NEWS.d/next/IDLE/2022-07-30-15-10-39.gh-issue-95471.z3scVG.rst @@ -1,3 +1,3 @@ -Move `Select All` above `Cut` as it is used with `Cut` and `Copy` but not -`Paste`. Add a separator between `Replace` and `Go to Line` to help IDLE -issue triagers. +Tweak IDLE's Edit menu. Move ``Select All`` above ``Cut`` as it is used with +``Cut`` and ``Copy`` but not with ``Paste``. Add a separator between + ``Replace`` and ``Go to Line`` to help IDLE issue triagers. From 8abef6896d0396ded3d86a65d17876d07b0b940b Mon Sep 17 00:00:00 2001 From: Terry Jan Reedy Date: Sat, 30 Jul 2022 19:56:09 -0400 Subject: [PATCH 5/5] Update 2022-07-30-15-10-39.gh-issue-95471.z3scVG.rst --- .../next/IDLE/2022-07-30-15-10-39.gh-issue-95471.z3scVG.rst | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/Misc/NEWS.d/next/IDLE/2022-07-30-15-10-39.gh-issue-95471.z3scVG.rst b/Misc/NEWS.d/next/IDLE/2022-07-30-15-10-39.gh-issue-95471.z3scVG.rst index cd48c3ec6ced1e..73a9d8058965cb 100644 --- a/Misc/NEWS.d/next/IDLE/2022-07-30-15-10-39.gh-issue-95471.z3scVG.rst +++ b/Misc/NEWS.d/next/IDLE/2022-07-30-15-10-39.gh-issue-95471.z3scVG.rst @@ -1,3 +1 @@ -Tweak IDLE's Edit menu. Move ``Select All`` above ``Cut`` as it is used with -``Cut`` and ``Copy`` but not with ``Paste``. Add a separator between - ``Replace`` and ``Go to Line`` to help IDLE issue triagers. +In the Edit menu, move ``Select All`` and add a new separator.