File tree Expand file tree Collapse file tree 2 files changed +63
-0
lines changed
cursorless-talon/src/cheatsheet/sections
packages/cheatsheet/src/lib/sampleSpokenFormInfos Expand file tree Collapse file tree 2 files changed +63
-0
lines changed Original file line number Diff line number Diff line change @@ -26,6 +26,7 @@ def get_modifiers():
26
26
"previous" ,
27
27
"next" ,
28
28
"backward" ,
29
+ "forward" ,
29
30
]
30
31
simple_modifiers = {
31
32
key : value
@@ -125,6 +126,10 @@ def get_modifiers():
125
126
"spokenForm" : f"<scope> { complex_modifiers ['backward' ]} " ,
126
127
"description" : "single instance of <scope> including target, going backwards" ,
127
128
},
129
+ {
130
+ "spokenForm" : f"<scope> { complex_modifiers ['forward' ]} " ,
131
+ "description" : "single instance of <scope> including target, going forwards" ,
132
+ },
128
133
{
129
134
"spokenForm" : f"<number> <scope>s { complex_modifiers ['backward' ]} " ,
130
135
"description" : "<number> instances of <scope> including target, going backwards" ,
Original file line number Diff line number Diff line change 708
708
}
709
709
]
710
710
},
711
+ {
712
+ "id" : " inferPreviousMark" ,
713
+ "type" : " modifier" ,
714
+ "variations" : [
715
+ {
716
+ "spokenForm" : " its" ,
717
+ "description" : " Infer previous mark"
718
+ }
719
+ ]
720
+ },
711
721
{
712
722
"id" : " interiorOnly" ,
713
723
"type" : " modifier" ,
794
804
"spokenForm" : " previous <number> <scope>s" ,
795
805
"description" : " previous <number> instances of <scope>"
796
806
},
807
+ {
808
+ "spokenForm" : " <scope> backward" ,
809
+ "description" : " single instance of <scope> including target, going backwards"
810
+ },
811
+ {
812
+ "spokenForm" : " <scope> forward" ,
813
+ "description" : " single instance of <scope> including target, going forwards"
814
+ },
797
815
{
798
816
"spokenForm" : " <number> <scope>s backward" ,
799
817
"description" : " <number> instances of <scope> including target, going backwards"
1056
1074
}
1057
1075
]
1058
1076
},
1077
+ {
1078
+ "id" : " branch" ,
1079
+ "type" : " scopeType" ,
1080
+ "variations" : [
1081
+ {
1082
+ "spokenForm" : " branch" ,
1083
+ "description" : " Branch"
1084
+ }
1085
+ ]
1086
+ },
1059
1087
{
1060
1088
"id" : " chapter" ,
1061
1089
"type" : " scopeType" ,
1186
1214
}
1187
1215
]
1188
1216
},
1217
+ {
1218
+ "id" : " identifier" ,
1219
+ "type" : " scopeType" ,
1220
+ "variations" : [
1221
+ {
1222
+ "spokenForm" : " identifier" ,
1223
+ "description" : " Identifier"
1224
+ }
1225
+ ]
1226
+ },
1189
1227
{
1190
1228
"id" : " ifStatement" ,
1191
1229
"type" : " scopeType" ,
1196
1234
}
1197
1235
]
1198
1236
},
1237
+ {
1238
+ "id" : " instance" ,
1239
+ "type" : " scopeType" ,
1240
+ "variations" : [
1241
+ {
1242
+ "spokenForm" : " instance" ,
1243
+ "description" : " Instance"
1244
+ }
1245
+ ]
1246
+ },
1199
1247
{
1200
1248
"id" : " line" ,
1201
1249
"type" : " scopeType" ,
1386
1434
}
1387
1435
]
1388
1436
},
1437
+ {
1438
+ "id" : " unit" ,
1439
+ "type" : " scopeType" ,
1440
+ "variations" : [
1441
+ {
1442
+ "spokenForm" : " unit" ,
1443
+ "description" : " Unit"
1444
+ }
1445
+ ]
1446
+ },
1389
1447
{
1390
1448
"id" : " url" ,
1391
1449
"type" : " scopeType" ,
You can’t perform that action at this time.
0 commit comments