Skip to content

Commit 358d327

Browse files
FireChickenProductivitynrileypre-commit-ci[bot]
authored
Provide help commands for the edit lists (#2093)
Co-authored-by: Nicholas Riley <com-github@sabi.net> Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
1 parent 4babb99 commit 358d327

File tree

3 files changed

+8
-2
lines changed

3 files changed

+8
-2
lines changed

core/edit/edit_command_actions.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,10 @@ def __str__(self):
4949
]
5050

5151
mod = Module()
52-
mod.list("edit_action", desc="Actions for the edit command")
52+
mod.list(
53+
"edit_action",
54+
desc="Edit command actions. Follow an action by an edit modifier to perform the action on the modifier's target.",
55+
)
5356

5457

5558
@mod.capture(rule="{user.edit_action}")

core/edit/edit_command_modifiers.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
mod.list("edit_modifier", desc="Modifiers for the edit command")
99
mod.list(
1010
"edit_modifier_repeatable",
11-
desc="Modifiers for the edit command that are repeatable",
11+
desc="Edit modifiers that are repeatable. Say a number before the modifier to repeat the action that many times.",
1212
)
1313

1414

core/help/help.talon

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,9 @@ help keywords: user.help_list("user.code_keyword")
2121
help keywords unprefixed: user.help_list("user.code_keyword_unprefixed")
2222
help common methods: user.help_list("user.code_common_method")
2323
help pairs: user.help_list("user.delimiter_pair")
24+
help edit actions: user.help_list("user.edit_action")
25+
help edit modifiers: user.help_list("user.edit_modifier")
26+
help edit repeatable modifiers: user.help_list("user.edit_modifier_repeatable")
2427
help customize: user.help_list("user.edit_text_file")
2528

2629
(help formatters | help format | format help):

0 commit comments

Comments
 (0)