-
-
Notifications
You must be signed in to change notification settings - Fork 96
Expand file tree
/
Copy pathcursorless_test.talon
More file actions
41 lines (37 loc) · 2.19 KB
/
Copy pathcursorless_test.talon
File metadata and controls
41 lines (37 loc) · 2.19 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
mode: user.cursorless_spoken_form_test
tag: user.cursorless
-
# For testing our public api
test api command <user.cursorless_target>:
user.cursorless_command("setSelection", cursorless_target)
test api command bring <user.cursorless_target>:
user.cursorless_command("replaceWithTarget", cursorless_target)
test api get text <user.cursorless_target>:
user.cursorless_get_text(cursorless_target)
test api get text list on <user.cursorless_target>:
user.cursorless_get_text_list(cursorless_target)
test api get text hide decorations <user.cursorless_target>:
user.cursorless_get_text(cursorless_target, true)
test api get text hide decorations list on <user.cursorless_target>:
user.cursorless_get_text_list(cursorless_target, true)
test api insert <user.word> <user.cursorless_destination>:
user.cursorless_insert(cursorless_destination, word)
test api insert <user.word> and <user.word> <user.cursorless_destination>:
user.cursorless_insert(cursorless_destination, word_list)
test api insert snippet:
user.cursorless_insert_snippet("Hello, $foo! My name is $bar!")
test api insert snippet <user.cursorless_destination> :
user.cursorless_insert_snippet("Hello, $foo! My name is $bar!", cursorless_destination, "statement")
test api wrap with snippet <user.cursorless_target>:
user.cursorless_wrap_with_snippet("Hello, $foo! My name is $bar!", cursorless_target, "foo", "statement")
test api extract decorated marks <user.cursorless_target>:
user.private_cursorless_test_extract_decorated_marks(cursorless_target)
test api alternate highlight nothing:
user.private_cursorless_test_alternate_highlight_nothing()
test api parsed chuck block: user.cursorless_x_custom_command("chuck block")
test api parsed take next token: user.cursorless_x_custom_command("take next token")
test api parsed change next instance: user.cursorless_x_custom_command("change next instance")
test api parsed <user.cursorless_target>:
user.cursorless_x_custom_command("chuck block <target>", cursorless_target)
test api parsed <user.cursorless_target> plus <user.cursorless_target>:
user.cursorless_x_custom_command("bring block <target1> after <target2>", cursorless_target_1, cursorless_target_2)