Skip to content

Commit 53357b3

Browse files
authored
gh-95471: IDLE - Tweak Edit menu (#95481)
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.
1 parent 6c439b9 commit 53357b3

File tree

3 files changed

+7
-1
lines changed

3 files changed

+7
-1
lines changed

Lib/idlelib/NEWS.txt

+4
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,10 @@ Released on 2022-10-03
44
=========================
55

66

7+
gh-95471: Tweak Edit menu. Move 'Select All' above 'Cut' as it is used
8+
with 'Cut' and 'Copy' but not 'Paste'. Add a separator between 'Replace'
9+
and 'Go to Line' to help IDLE issue triagers.
10+
711
gh-95411: Enable using IDLE's module browser with .pyw files.
812

913
gh-89610: Add .pyi as a recognized extension for IDLE on macOS. This allows

Lib/idlelib/mainmenu.py

+2-1
Original file line numberDiff line numberDiff line change
@@ -42,16 +42,17 @@
4242
('_Undo', '<<undo>>'),
4343
('_Redo', '<<redo>>'),
4444
None,
45+
('Select _All', '<<select-all>>'),
4546
('Cu_t', '<<cut>>'),
4647
('_Copy', '<<copy>>'),
4748
('_Paste', '<<paste>>'),
48-
('Select _All', '<<select-all>>'),
4949
None,
5050
('_Find...', '<<find>>'),
5151
('Find A_gain', '<<find-again>>'),
5252
('Find _Selection', '<<find-selection>>'),
5353
('Find in Files...', '<<find-in-files>>'),
5454
('R_eplace...', '<<replace>>'),
55+
None,
5556
('Go to _Line', '<<goto-line>>'),
5657
('S_how Completions', '<<force-open-completions>>'),
5758
('E_xpand Word', '<<expand-word>>'),
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
In the Edit menu, move ``Select All`` and add a new separator.

0 commit comments

Comments
 (0)