Skip to content

Commit 7cbecf9

Browse files
Reverting tests
1 parent b7bee4f commit 7cbecf9

File tree

4 files changed

+415
-712
lines changed

4 files changed

+415
-712
lines changed
Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
1+
languageId: plaintext
2+
command:
3+
version: 6
4+
spokenForm: copy second token
5+
action:
6+
name: copyToClipboard
7+
target:
8+
type: primitive
9+
modifiers:
10+
- type: ordinalScope
11+
scopeType: {type: token}
12+
start: 1
13+
length: 1
14+
usePrePhraseSnapshot: false
15+
initialState:
16+
documentContents: |
17+
18+
const value = "Hello world";
19+
selections:
20+
- anchor: {line: 1, character: 0}
21+
active: {line: 1, character: 0}
22+
marks: {}
23+
finalState:
24+
documentContents: |
25+
26+
const value = "Hello world";
27+
selections:
28+
- anchor: {line: 1, character: 0}
29+
active: {line: 1, character: 0}
30+
clipboard: value
31+
thatMark:
32+
- type: TokenTarget
33+
contentRange:
34+
start: {line: 1, character: 6}
35+
end: {line: 1, character: 11}
36+
isReversed: false
37+
hasExplicitRange: true
Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,38 @@
1+
languageId: plaintext
2+
command:
3+
version: 6
4+
spokenForm: carve line harp
5+
action:
6+
name: cutToClipboard
7+
target:
8+
type: primitive
9+
modifiers:
10+
- type: containingScope
11+
scopeType: {type: line}
12+
mark: {type: decoratedSymbol, symbolColor: default, character: h}
13+
usePrePhraseSnapshot: true
14+
initialState:
15+
documentContents: |2
16+
hello world
17+
selections:
18+
- anchor: {line: 1, character: 0}
19+
active: {line: 1, character: 0}
20+
marks:
21+
default.h:
22+
start: {line: 0, character: 4}
23+
end: {line: 0, character: 9}
24+
finalState:
25+
documentContents: ""
26+
selections:
27+
- anchor: {line: 0, character: 0}
28+
active: {line: 0, character: 0}
29+
clipboard: hello world
30+
ide:
31+
flashes:
32+
- style: referenced
33+
range:
34+
type: character
35+
start: {line: 0, character: 4}
36+
end: {line: 0, character: 15}
37+
- style: pendingDelete
38+
range: {type: line, start: 0, end: 0}
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
hello;

0 commit comments

Comments
 (0)