Commit a09fc9f
The Up and Down keys move the selection in the help sources and key
bindings lists, but not the anchor. So the buttons that act on the
selected item stayed disabled, and acted on the anchored item instead
of the selected one. Move the anchor on the key events, as the font
list already does.
Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
* Select the first key binding when the list is loaded
---------
(cherry picked from commit 212e603)
Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
Co-authored-by: Claude Opus 5 (1M context) <noreply@anthropic.com>
1 parent 94f02ed commit a09fc9f
3 files changed
Lines changed: 69 additions & 15 deletions
File tree
- Lib/idlelib
- idle_test
- Misc/NEWS.d/next/IDLE
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1146 | 1146 | | |
1147 | 1147 | | |
1148 | 1148 | | |
1149 | | - | |
1150 | | - | |
| 1149 | + | |
| 1150 | + | |
1151 | 1151 | | |
1152 | 1152 | | |
1153 | 1153 | | |
| |||
1221 | 1221 | | |
1222 | 1222 | | |
1223 | 1223 | | |
1224 | | - | |
| 1224 | + | |
1225 | 1225 | | |
1226 | 1226 | | |
| 1227 | + | |
| 1228 | + | |
| 1229 | + | |
1227 | 1230 | | |
1228 | 1231 | | |
1229 | 1232 | | |
| |||
1427 | 1430 | | |
1428 | 1431 | | |
1429 | 1432 | | |
1430 | | - | |
| 1433 | + | |
| 1434 | + | |
| 1435 | + | |
| 1436 | + | |
| 1437 | + | |
| 1438 | + | |
| 1439 | + | |
| 1440 | + | |
1431 | 1441 | | |
1432 | 1442 | | |
1433 | 1443 | | |
| |||
1465 | 1475 | | |
1466 | 1476 | | |
1467 | 1477 | | |
1468 | | - | |
| 1478 | + | |
1469 | 1479 | | |
1470 | | - | |
1471 | 1480 | | |
1472 | 1481 | | |
1473 | 1482 | | |
| |||
1482 | 1491 | | |
1483 | 1492 | | |
1484 | 1493 | | |
1485 | | - | |
1486 | | - | |
1487 | | - | |
1488 | | - | |
| 1494 | + | |
| 1495 | + | |
| 1496 | + | |
| 1497 | + | |
| 1498 | + | |
1489 | 1499 | | |
1490 | 1500 | | |
1491 | 1501 | | |
| |||
2124 | 2134 | | |
2125 | 2135 | | |
2126 | 2136 | | |
| 2137 | + | |
| 2138 | + | |
2127 | 2139 | | |
2128 | 2140 | | |
2129 | 2141 | | |
| |||
2146 | 2158 | | |
2147 | 2159 | | |
2148 | 2160 | | |
2149 | | - | |
| 2161 | + | |
| 2162 | + | |
| 2163 | + | |
| 2164 | + | |
| 2165 | + | |
| 2166 | + | |
| 2167 | + | |
| 2168 | + | |
2150 | 2169 | | |
2151 | 2170 | | |
2152 | 2171 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
9 | 9 | | |
10 | 10 | | |
11 | 11 | | |
12 | | - | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
13 | 15 | | |
14 | 16 | | |
15 | 17 | | |
| |||
1060 | 1062 | | |
1061 | 1063 | | |
1062 | 1064 | | |
| 1065 | + | |
| 1066 | + | |
| 1067 | + | |
| 1068 | + | |
| 1069 | + | |
| 1070 | + | |
| 1071 | + | |
| 1072 | + | |
1063 | 1073 | | |
1064 | 1074 | | |
1065 | 1075 | | |
| |||
1110 | 1120 | | |
1111 | 1121 | | |
1112 | 1122 | | |
1113 | | - | |
| 1123 | + | |
| 1124 | + | |
1114 | 1125 | | |
1115 | 1126 | | |
1116 | | - | |
1117 | | - | |
| 1127 | + | |
| 1128 | + | |
| 1129 | + | |
| 1130 | + | |
1118 | 1131 | | |
1119 | 1132 | | |
1120 | 1133 | | |
| |||
1584 | 1597 | | |
1585 | 1598 | | |
1586 | 1599 | | |
| 1600 | + | |
| 1601 | + | |
| 1602 | + | |
| 1603 | + | |
| 1604 | + | |
| 1605 | + | |
| 1606 | + | |
| 1607 | + | |
| 1608 | + | |
| 1609 | + | |
| 1610 | + | |
| 1611 | + | |
| 1612 | + | |
| 1613 | + | |
| 1614 | + | |
| 1615 | + | |
| 1616 | + | |
| 1617 | + | |
| 1618 | + | |
| 1619 | + | |
1587 | 1620 | | |
1588 | 1621 | | |
1589 | 1622 | | |
| |||
Lines changed: 2 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
0 commit comments