Skip to content

Commit 789ee0c

Browse files
Update descriptions for callAsFunction action in cheatsheet (#3130)
Fixes #3129
1 parent 6c2ea43 commit 789ee0c

2 files changed

Lines changed: 8 additions & 8 deletions

File tree

cursorless-talon/src/cheatsheet/sections/actions.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ def get_actions() -> list[ListItemDescriptor]:
5050
),
5151
(
5252
lambda value: f"{value} <target>",
53-
"Insert copy of <target> at cursor",
53+
"Insert copy of <target> at selection",
5454
),
5555
],
5656
"pasteFromClipboard": [
@@ -66,7 +66,7 @@ def get_actions() -> list[ListItemDescriptor]:
6666
),
6767
(
6868
lambda value: f"{value} <target>",
69-
"Move <target> to cursor position",
69+
"Move <target> to selection",
7070
),
7171
],
7272
"applyFormatter": [
@@ -78,11 +78,11 @@ def get_actions() -> list[ListItemDescriptor]:
7878
"callAsFunction": [
7979
(
8080
lambda value: f"{value} <target>",
81-
"Call <target> on selection",
81+
"Insert call to <target> on selection",
8282
),
8383
(
8484
lambda value: f"{value} <target 1> on <target 2>",
85-
"Call <target 1> on <target 2>",
85+
"Insert call to <target 1> on <target 2>",
8686
),
8787
],
8888
"wrapWithPairedDelimiter": [

packages/cheatsheet/src/lib/sampleSpokenFormInfos/defaults.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -60,11 +60,11 @@
6060
"variations": [
6161
{
6262
"spokenForm": "call <target>",
63-
"description": "Call <target> on selection"
63+
"description": "Insert call to <target> on selection"
6464
},
6565
{
6666
"spokenForm": "call <target 1> on <target 2>",
67-
"description": "Call <target 1> on <target 2>"
67+
"description": "Insert call to <target 1> on <target 2>"
6868
}
6969
]
7070
},
@@ -368,7 +368,7 @@
368368
},
369369
{
370370
"spokenForm": "move <target>",
371-
"description": "Move <target> to cursor position"
371+
"description": "Move <target> to selection"
372372
}
373373
]
374374
},
@@ -442,7 +442,7 @@
442442
},
443443
{
444444
"spokenForm": "bring <target>",
445-
"description": "Insert copy of <target> at cursor"
445+
"description": "Insert copy of <target> at selection"
446446
}
447447
]
448448
},

0 commit comments

Comments
 (0)