File tree 21 files changed +64
-80
lines changed
packages/cursorless-vscode-e2e/src/suite/fixtures/recorded/languages/scm 21 files changed +64
-80
lines changed Original file line number Diff line number Diff line change @@ -17,11 +17,11 @@ initialState:
17
17
active : {line: 0, character: 0}
18
18
marks : {}
19
19
finalState :
20
- documentContents : (aaa) @ @ @
20
+ documentContents : " (aaa) "
21
21
selections :
22
+ - anchor : {line: 0, character: 6}
23
+ active : {line: 0, character: 6}
22
24
- anchor : {line: 0, character: 7}
23
25
active : {line: 0, character: 7}
24
- - anchor : {line: 0, character: 9}
25
- active : {line: 0, character: 9}
26
- - anchor : {line: 0, character: 11}
27
- active : {line: 0, character: 11}
26
+ - anchor : {line: 0, character: 8}
27
+ active : {line: 0, character: 8}
Original file line number Diff line number Diff line change @@ -17,7 +17,7 @@ initialState:
17
17
active : {line: 0, character: 0}
18
18
marks : {}
19
19
finalState :
20
- documentContents : (aaa) @
20
+ documentContents : " (aaa) "
21
21
selections :
22
- - anchor : {line: 0, character: 7 }
23
- active : {line: 0, character: 7 }
22
+ - anchor : {line: 0, character: 6 }
23
+ active : {line: 0, character: 6 }
Original file line number Diff line number Diff line change @@ -17,7 +17,7 @@ initialState:
17
17
active : {line: 0, character: 0}
18
18
marks : {}
19
19
finalState :
20
- documentContents : " eee: (aaa) @ "
20
+ documentContents : " eee: (aaa) "
21
21
selections :
22
- - anchor : {line: 0, character: 12 }
23
- active : {line: 0, character: 12 }
22
+ - anchor : {line: 0, character: 11 }
23
+ active : {line: 0, character: 11 }
Original file line number Diff line number Diff line change @@ -17,7 +17,7 @@ initialState:
17
17
active : {line: 0, character: 0}
18
18
marks : {}
19
19
finalState :
20
- documentContents : " eee: _ @ "
20
+ documentContents : " eee: _ "
21
21
selections :
22
- - anchor : {line: 0, character: 8 }
23
- active : {line: 0, character: 8 }
22
+ - anchor : {line: 0, character: 7 }
23
+ active : {line: 0, character: 7 }
Original file line number Diff line number Diff line change @@ -17,7 +17,7 @@ initialState:
17
17
active : {line: 0, character: 0}
18
18
marks : {}
19
19
finalState :
20
- documentContents : " (aaa) "
20
+ documentContents : (aaa)
21
21
selections :
22
22
- anchor : {line: 0, character: 0}
23
23
active : {line: 0, character: 0}
Original file line number Diff line number Diff line change @@ -17,7 +17,7 @@ initialState:
17
17
active : {line: 0, character: 20}
18
18
marks : {}
19
19
finalState :
20
- documentContents : " (aaa) @bbb @ccc "
20
+ documentContents : (aaa) @bbb @ccc
21
21
selections :
22
- - anchor : {line: 0, character: 16 }
23
- active : {line: 0, character: 16 }
22
+ - anchor : {line: 0, character: 15 }
23
+ active : {line: 0, character: 15 }
Original file line number Diff line number Diff line change @@ -16,9 +16,9 @@ initialState:
16
16
active : {line: 0, character: 0}
17
17
marks : {}
18
18
finalState :
19
- documentContents : (aaa) @ @
19
+ documentContents : " (aaa) "
20
20
selections :
21
+ - anchor : {line: 0, character: 6}
22
+ active : {line: 0, character: 6}
21
23
- anchor : {line: 0, character: 7}
22
24
active : {line: 0, character: 7}
23
- - anchor : {line: 0, character: 9}
24
- active : {line: 0, character: 9}
Original file line number Diff line number Diff line change @@ -16,9 +16,9 @@ initialState:
16
16
active : {line: 0, character: 0}
17
17
marks : {}
18
18
finalState :
19
- documentContents : " [(aaa) (bbb)] @ @ "
19
+ documentContents : " [(aaa) (bbb)] "
20
20
selections :
21
+ - anchor : {line: 0, character: 14}
22
+ active : {line: 0, character: 14}
21
23
- anchor : {line: 0, character: 15}
22
24
active : {line: 0, character: 15}
23
- - anchor : {line: 0, character: 17}
24
- active : {line: 0, character: 17}
Original file line number Diff line number Diff line change @@ -21,10 +21,10 @@ initialState:
21
21
finalState :
22
22
documentContents : |-
23
23
(anonymous_node
24
- name: (_) @ @
24
+ name: (_)
25
25
)
26
26
selections :
27
+ - anchor : {line: 1, character: 12}
28
+ active : {line: 1, character: 12}
27
29
- anchor : {line: 1, character: 13}
28
30
active : {line: 1, character: 13}
29
- - anchor : {line: 1, character: 15}
30
- active : {line: 1, character: 15}
Original file line number Diff line number Diff line change @@ -16,7 +16,7 @@ initialState:
16
16
active : {line: 0, character: 0}
17
17
marks : {}
18
18
finalState :
19
- documentContents : (aaa) @
19
+ documentContents : " (aaa) "
20
20
selections :
21
- - anchor : {line: 0, character: 7 }
22
- active : {line: 0, character: 7 }
21
+ - anchor : {line: 0, character: 6 }
22
+ active : {line: 0, character: 6 }
Original file line number Diff line number Diff line change @@ -16,7 +16,7 @@ initialState:
16
16
active : {line: 0, character: 11}
17
17
marks : {}
18
18
finalState :
19
- documentContents : (aaa) @bbb @
19
+ documentContents : " (aaa) @bbb "
20
20
selections :
21
- - anchor : {line: 0, character: 12 }
22
- active : {line: 0, character: 12 }
21
+ - anchor : {line: 0, character: 11 }
22
+ active : {line: 0, character: 11 }
Original file line number Diff line number Diff line change @@ -16,7 +16,7 @@ initialState:
16
16
active : {line: 0, character: 0}
17
17
marks : {}
18
18
finalState :
19
- documentContents : (aaa) @
19
+ documentContents : " (aaa) "
20
20
selections :
21
- - anchor : {line: 0, character: 7 }
22
- active : {line: 0, character: 7 }
21
+ - anchor : {line: 0, character: 6 }
22
+ active : {line: 0, character: 6 }
Original file line number Diff line number Diff line change @@ -16,7 +16,7 @@ initialState:
16
16
active : {line: 0, character: 0}
17
17
marks : {}
18
18
finalState :
19
- documentContents : " \" aaa\" @ "
19
+ documentContents : " \" aaa\" "
20
20
selections :
21
- - anchor : {line: 0, character: 7 }
22
- active : {line: 0, character: 7 }
21
+ - anchor : {line: 0, character: 6 }
22
+ active : {line: 0, character: 6 }
Original file line number Diff line number Diff line change @@ -16,7 +16,7 @@ initialState:
16
16
active : {line: 0, character: 0}
17
17
marks : {}
18
18
finalState :
19
- documentContents : " [(aaa) (bbb)] @ "
19
+ documentContents : " [(aaa) (bbb)] "
20
20
selections :
21
- - anchor : {line: 0, character: 15 }
22
- active : {line: 0, character: 15 }
21
+ - anchor : {line: 0, character: 14 }
22
+ active : {line: 0, character: 14 }
Original file line number Diff line number Diff line change @@ -23,8 +23,8 @@ finalState:
23
23
documentContents : |-
24
24
25
25
(anonymous_node
26
- name: (_) @
26
+ name: (_)
27
27
)
28
28
selections :
29
- - anchor : {line: 2, character: 13 }
30
- active : {line: 2, character: 13 }
29
+ - anchor : {line: 2, character: 12 }
30
+ active : {line: 2, character: 12 }
Original file line number Diff line number Diff line change @@ -21,8 +21,8 @@ initialState:
21
21
finalState :
22
22
documentContents : |-
23
23
(anonymous_node
24
- name: (_) @
24
+ name: (_)
25
25
)
26
26
selections :
27
- - anchor : {line: 1, character: 13 }
28
- active : {line: 1, character: 13 }
27
+ - anchor : {line: 1, character: 12 }
28
+ active : {line: 1, character: 12 }
Original file line number Diff line number Diff line change @@ -17,7 +17,7 @@ initialState:
17
17
active : {line: 0, character: 0}
18
18
marks : {}
19
19
finalState :
20
- documentContents : " eee: _ @ @bbb @ccc"
20
+ documentContents : " eee: _ @bbb @ccc"
21
21
selections :
22
- - anchor : {line: 0, character: 8 }
23
- active : {line: 0, character: 8 }
22
+ - anchor : {line: 0, character: 7 }
23
+ active : {line: 0, character: 7 }
Original file line number Diff line number Diff line change @@ -17,7 +17,7 @@ initialState:
17
17
active : {line: 0, character: 0}
18
18
marks : {}
19
19
finalState :
20
- documentContents : " eee: _ @bbb @ccc @ "
20
+ documentContents : " eee: _ @bbb @ccc "
21
21
selections :
22
- - anchor : {line: 0, character: 18 }
23
- active : {line: 0, character: 18 }
22
+ - anchor : {line: 0, character: 17 }
23
+ active : {line: 0, character: 17 }
Original file line number Diff line number Diff line change @@ -17,7 +17,7 @@ initialState:
17
17
active : {line: 0, character: 7}
18
18
marks : {}
19
19
finalState :
20
- documentContents : " eee: _ @bbb @ @ccc"
20
+ documentContents : " eee: _ @bbb @ccc"
21
21
selections :
22
- - anchor : {line: 0, character: 13 }
23
- active : {line: 0, character: 13 }
22
+ - anchor : {line: 0, character: 12 }
23
+ active : {line: 0, character: 12 }
Original file line number Diff line number Diff line change @@ -19,5 +19,5 @@ initialState:
19
19
finalState :
20
20
documentContents : (aaa) @bbb @ccc @ddd
21
21
selections :
22
- - anchor : {line: 0, character: 7 }
22
+ - anchor : {line: 0, character: 6 }
23
23
active : {line: 0, character: 20}
Original file line number Diff line number Diff line change 1
1
;; !! (aaa) @bbb @ccc
2
- ;; ! ^^^^^^^^
3
- ;; ! xxxxxxxxx
2
+ ;; ! ^^^^^^^^^
4
3
;; ! ---------------
5
4
(
6
5
(_
7
6
_ @dummy
8
7
.
9
- (capture
10
- "@" @_.leading
11
- name: (identifier) @name.start
12
- )
8
+ (capture) @name.start
13
9
(capture)? @name.end
14
10
.
15
11
) @_.domain
16
12
(#not-type? @_.domain parameters)
17
13
(#not-type? @dummy capture)
18
14
(#not-parent-type? @_.domain field_definition)
19
- (#insertion-delimiter! @name.start " @")
20
15
)
21
16
22
17
;; !! eee: (aaa) @bbb @ccc
23
- ;; ! ^^^^^^^^
24
- ;; ! xxxxxxxxx
18
+ ;; ! ^^^^^^^^^
25
19
;; ! --------------------
26
20
(
27
21
(field_definition
28
22
(_
29
23
_ @dummy
30
24
.
31
- (capture
32
- "@" @_.leading
33
- name: (identifier) @name.start
34
- )
25
+ (capture) @name.start
35
26
(capture)? @name.end
36
27
.
37
28
)
38
29
) @_.domain
39
30
(#not-type? @dummy capture)
40
- (#insertion-delimiter! @name.start " @")
41
31
)
42
32
43
33
;; !! (aaa) @bbb @ccc
44
- ;; ! ^^^ ^^^
45
- ;; ! xxxx xxxx
46
- ;; ! ---- ----
34
+ ;; ! ^^^^ ^^^^
47
35
(
48
36
(_
49
- (capture
50
- "@" @_.leading
51
- name: (identifier) @name
52
- ) @_.domain
37
+ (capture) @name
53
38
) @dummy
54
39
(#not-type? @dummy parameters)
55
40
(#has-multiple-children-of-type? @dummy capture)
56
- (#insertion-delimiter! @name " @")
57
41
)
58
42
59
43
;; !! (aaa) @bbb @ccc
You can’t perform that action at this time.
0 commit comments