]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
gh-95471: IDLE - Tweak Edit menu (GH-95481)
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Sun, 31 Jul 2022 01:32:47 +0000 (18:32 -0700)
committerGitHub <noreply@github.com>
Sun, 31 Jul 2022 01:32:47 +0000 (18:32 -0700)
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 separate items that belong to the 'Edit-find' (above) and 'Edit-show' (below) IDLE github project topics.
(cherry picked from commit 53357b3ee53d767c2da5cd77f9c47117903e9a44)

Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu>
Lib/idlelib/NEWS.txt
Lib/idlelib/mainmenu.py
Misc/NEWS.d/next/IDLE/2022-07-30-15-10-39.gh-issue-95471.z3scVG.rst [new file with mode: 0644]

index 7ec675a9dc45ee62ed089cc60d7f7977fa0c2f2c..3adf98257952169d2cb1664bff2241c692252b66 100644 (file)
@@ -4,6 +4,10 @@ Released 2023-04-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
index a1b169176cba92fb18055a994d060642a2f16a88..429c8660ce0daa76c7e23c95c11ec9eb8ac80e1c 100644 (file)
@@ -42,16 +42,17 @@ menudefs = [
    ('_Undo', '<<undo>>'),
    ('_Redo', '<<redo>>'),
    None,
+   ('Select _All', '<<select-all>>'),
    ('Cu_t', '<<cut>>'),
    ('_Copy', '<<copy>>'),
    ('_Paste', '<<paste>>'),
-   ('Select _All', '<<select-all>>'),
    None,
    ('_Find...', '<<find>>'),
    ('Find A_gain', '<<find-again>>'),
    ('Find _Selection', '<<find-selection>>'),
    ('Find in Files...', '<<find-in-files>>'),
    ('R_eplace...', '<<replace>>'),
+   None,
    ('Go to _Line', '<<goto-line>>'),
    ('S_how Completions', '<<force-open-completions>>'),
    ('E_xpand Word', '<<expand-word>>'),
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 (file)
index 0000000..73a9d80
--- /dev/null
@@ -0,0 +1 @@
+In the Edit menu, move ``Select All`` and add a new separator.