Skip to content

Commit 8206cf7

Browse files
committed
More test cases
1 parent 8a44ae0 commit 8206cf7

File tree

1 file changed

+44
-0
lines changed

1 file changed

+44
-0
lines changed
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,44 @@
1+
languageId: plaintext
2+
command:
3+
version: 5
4+
spokenForm: clear two instances air and bat
5+
action: {name: clearAndSetSelection}
6+
targets:
7+
- type: list
8+
elements:
9+
- type: primitive
10+
modifiers:
11+
- type: relativeScope
12+
scopeType: {type: instance}
13+
offset: 0
14+
length: 2
15+
direction: forward
16+
mark: {type: decoratedSymbol, symbolColor: default, character: a}
17+
- type: primitive
18+
mark: {type: decoratedSymbol, symbolColor: default, character: b}
19+
usePrePhraseSnapshot: true
20+
initialState:
21+
documentContents: |
22+
aaa bbb ccc aaa bbb
23+
selections:
24+
- anchor: {line: 1, character: 0}
25+
active: {line: 1, character: 0}
26+
marks:
27+
default.a:
28+
start: {line: 0, character: 0}
29+
end: {line: 0, character: 3}
30+
default.b:
31+
start: {line: 0, character: 4}
32+
end: {line: 0, character: 7}
33+
finalState:
34+
documentContents: |2
35+
ccc
36+
selections:
37+
- anchor: {line: 0, character: 0}
38+
active: {line: 0, character: 0}
39+
- anchor: {line: 0, character: 1}
40+
active: {line: 0, character: 1}
41+
- anchor: {line: 0, character: 6}
42+
active: {line: 0, character: 6}
43+
- anchor: {line: 0, character: 7}
44+
active: {line: 0, character: 7}

0 commit comments

Comments
 (0)