Add a preferred position for selectAll

This commit is contained in:
Jules Aguillon 2025-03-23 14:58:11 +01:00
parent 1d6a115ce4
commit 6c40e0604a

View File

@ -338,6 +338,13 @@ public class ExtraKeysPreference extends PreferenceCategory
new KeyboardData.KeyPos(2, -1, 8),
new KeyboardData.KeyPos(-1, -1, 8),
});
case "selectAll":
return new KeyboardData.PreferredPos(KeyValue.getKeyByName("a"),
new KeyboardData.KeyPos[]{
new KeyboardData.KeyPos(1, 0, 8),
new KeyboardData.KeyPos(1, -1, 8),
new KeyboardData.KeyPos(-1, -1, 8),
});
case "redo":
return new KeyboardData.PreferredPos(KeyValue.getKeyByName("y"),
new KeyboardData.KeyPos[]{