Skip to content

Commit 17d3117

Browse files
Merge branch 'main' into javaItem
2 parents fc10f5a + 8cf3464 commit 17d3117

File tree

25 files changed

+352
-39
lines changed

25 files changed

+352
-39
lines changed

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ def get_modifiers():
6464
"variations": [
6565
{
6666
"spokenForm": complex_modifiers["extendThroughStartOf"],
67-
"description": "Extend through start of line",
67+
"description": "Extend through start of line/pair",
6868
},
6969
{
7070
"spokenForm": f"{complex_modifiers['extendThroughStartOf']} <modifier>",
@@ -78,7 +78,7 @@ def get_modifiers():
7878
"variations": [
7979
{
8080
"spokenForm": complex_modifiers["extendThroughEndOf"],
81-
"description": "Extend through end of line",
81+
"description": "Extend through end of line/pair",
8282
},
8383
{
8484
"spokenForm": f"{complex_modifiers['extendThroughEndOf']} <modifier>",

data/fixtures/recorded/languages/typescript/takeItem.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,5 +23,5 @@ finalState:
2323
2424
const value = { a: 1, b: 2, c: 3 };
2525
selections:
26-
- anchor: {line: 1, character: 0}
27-
active: {line: 1, character: 35}
26+
- anchor: {line: 1, character: 6}
27+
active: {line: 1, character: 34}
Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
class MyClass {
2+
3+
}
4+
---
5+
6+
[Content] =
7+
[Removal] =
8+
[Domain] = 0:0-2:1
9+
>---------------
10+
0| class MyClass {
11+
1|
12+
2| }
13+
-<
14+
15+
[Insertion delimiter] = "\n\n"
Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
class MyClass {
2+
3+
}
4+
---
5+
6+
[Content] = 0:6-0:13
7+
>-------<
8+
0| class MyClass {
9+
10+
[Removal] = 0:6-0:14
11+
>--------<
12+
0| class MyClass {
13+
14+
[Leading delimiter] = 0:5-0:6
15+
>-<
16+
0| class MyClass {
17+
18+
[Trailing delimiter] = 0:13-0:14
19+
>-<
20+
0| class MyClass {
21+
22+
[Domain] = 0:0-2:1
23+
>---------------
24+
0| class MyClass {
25+
1|
26+
2| }
27+
-<
28+
29+
[Insertion delimiter] = " "
Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
foo() {
2+
if (true) { }
3+
}
4+
---
5+
6+
[Content] =
7+
[Domain] = 1:2-1:15
8+
>-------------<
9+
1| if (true) { }
10+
11+
[Removal] = 1:0-1:15
12+
>---------------<
13+
1| if (true) { }
14+
15+
[Leading delimiter] = 1:0-1:2
16+
>--<
17+
1| if (true) { }
18+
19+
[Insertion delimiter] = "\n"
Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
final list = [1,2,3];
2+
---
3+
4+
[Content] =
5+
[Domain] = 0:13-0:20
6+
>-------<
7+
0| final list = [1,2,3];
8+
9+
[Removal] = 0:12-0:20
10+
>--------<
11+
0| final list = [1,2,3];
12+
13+
[Leading delimiter] = 0:12-0:13
14+
>-<
15+
0| final list = [1,2,3];
16+
17+
[Insertion delimiter] = " "
Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
final map = {
2+
'hi': 1,
3+
};
4+
---
5+
6+
[Content] =
7+
[Domain] = 0:14-2:3
8+
>-
9+
0| final map = {
10+
1| 'hi': 1,
11+
2| };
12+
---<
13+
14+
[Removal] = 0:13-2:3
15+
>--
16+
0| final map = {
17+
1| 'hi': 1,
18+
2| };
19+
---<
20+
21+
[Leading delimiter] = 0:13-0:14
22+
>-<
23+
0| final map = {
24+
25+
[Insertion delimiter] = " "
Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
let foo, bar;
2+
---
3+
4+
[#1 Content] =
5+
[#1 Domain] = 0:4-0:7
6+
>---<
7+
0| let foo, bar;
8+
9+
[#1 Removal] = 0:4-0:9
10+
>-----<
11+
0| let foo, bar;
12+
13+
[#1 Trailing delimiter] = 0:7-0:9
14+
>--<
15+
0| let foo, bar;
16+
17+
[#1 Insertion delimiter] = ", "
18+
19+
20+
[#2 Content] =
21+
[#2 Domain] = 0:9-0:12
22+
>---<
23+
0| let foo, bar;
24+
25+
[#2 Removal] = 0:7-0:12
26+
>-----<
27+
0| let foo, bar;
28+
29+
[#2 Leading delimiter] = 0:7-0:9
30+
>--<
31+
0| let foo, bar;
32+
33+
[#2 Insertion delimiter] = ", "
Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
"aaa"
2+
r#"bbb"#
3+
r##"ccc"##
4+
---
5+
6+
[#1 Content] =
7+
[#1 Removal] =
8+
[#1 Domain] = 0:0-0:5
9+
>-----<
10+
0| "aaa"
11+
12+
[#1 Insertion delimiter] = " "
13+
14+
15+
[#2 Content] =
16+
[#2 Removal] =
17+
[#2 Domain] = 1:0-1:8
18+
>--------<
19+
1| r#"bbb"#
20+
21+
[#2 Insertion delimiter] = " "
22+
23+
24+
[#3 Content] =
25+
[#3 Removal] =
26+
[#3 Domain] = 2:0-2:10
27+
>----------<
28+
2| r##"ccc"##
29+
30+
[#3 Insertion delimiter] = " "
Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
"aaa"
2+
r#"bbb"#
3+
r##"ccc"##
4+
---
5+
6+
[#1 Content] =
7+
[#1 Removal] =
8+
[#1 Domain] = 0:1-0:4
9+
>---<
10+
0| "aaa"
11+
12+
[#1 Insertion delimiter] = " "
13+
14+
15+
[#2 Content] =
16+
[#2 Removal] =
17+
[#2 Domain] = 1:3-1:6
18+
>---<
19+
1| r#"bbb"#
20+
21+
[#2 Insertion delimiter] = " "
22+
23+
24+
[#3 Content] =
25+
[#3 Removal] =
26+
[#3 Domain] = 2:4-2:7
27+
>---<
28+
2| r##"ccc"##
29+
30+
[#3 Insertion delimiter] = " "

0 commit comments

Comments
 (0)