Repository navigation
Commit 5aaa0eb
fix: use Cmd instead of Ctrl for default keyboard shortcuts on macOS
On Cocoa, ssCtrl is the physical Control key, while the Command key arrives
as ssMeta. All default shortcuts of actions and of the SynEdit keystrokes use
ssCtrl, so Cmd+C/V/X/A/Z did nothing in the query editor and other SynEdits.
Move default Ctrl+letter/digit shortcuts to Cmd on macOS, before customized
shortcuts are applied. Q, H, M and W are left alone, as Cmd+Q/H/M/W are
reserved for app and window handling.
The shortcut editor in the preferences dialog has no checkbox for Cmd, so it
now keeps that modifier instead of silently dropping it when leaving an item.
Closes #2369
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>1 parent 1363b16 commit 5aaa0eb
2 files changed
Lines changed: 51 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1866 | 1866 | | |
1867 | 1867 | | |
1868 | 1868 | | |
| 1869 | + | |
| 1870 | + | |
| 1871 | + | |
| 1872 | + | |
| 1873 | + | |
| 1874 | + | |
| 1875 | + | |
| 1876 | + | |
| 1877 | + | |
| 1878 | + | |
| 1879 | + | |
| 1880 | + | |
| 1881 | + | |
| 1882 | + | |
| 1883 | + | |
| 1884 | + | |
| 1885 | + | |
| 1886 | + | |
| 1887 | + | |
1869 | 1888 | | |
1870 | 1889 | | |
1871 | 1890 | | |
| |||
2097 | 2116 | | |
2098 | 2117 | | |
2099 | 2118 | | |
| 2119 | + | |
| 2120 | + | |
| 2121 | + | |
| 2122 | + | |
| 2123 | + | |
| 2124 | + | |
| 2125 | + | |
| 2126 | + | |
| 2127 | + | |
| 2128 | + | |
| 2129 | + | |
| 2130 | + | |
| 2131 | + | |
| 2132 | + | |
| 2133 | + | |
| 2134 | + | |
2100 | 2135 | | |
2101 | 2136 | | |
2102 | 2137 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1354 | 1354 | | |
1355 | 1355 | | |
1356 | 1356 | | |
| 1357 | + | |
| 1358 | + | |
| 1359 | + | |
| 1360 | + | |
| 1361 | + | |
| 1362 | + | |
| 1363 | + | |
| 1364 | + | |
| 1365 | + | |
| 1366 | + | |
| 1367 | + | |
| 1368 | + | |
| 1369 | + | |
| 1370 | + | |
1357 | 1371 | | |
1358 | 1372 | | |
1359 | 1373 | | |
1360 | 1374 | | |
1361 | 1375 | | |
1362 | 1376 | | |
1363 | 1377 | | |
1364 | | - | |
| 1378 | + | |
1365 | 1379 | | |
1366 | 1380 | | |
1367 | 1381 | | |
| |||
1376 | 1390 | | |
1377 | 1391 | | |
1378 | 1392 | | |
1379 | | - | |
| 1393 | + | |
1380 | 1394 | | |
1381 | 1395 | | |
1382 | 1396 | | |
| |||
0 commit comments