-
-
Notifications
You must be signed in to change notification settings - Fork 85
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
6 changed files
with
184 additions
and
0 deletions.
There are no files selected for viewing
30 changes: 30 additions & 0 deletions
30
...less-vscode-e2e/src/suite/fixtures/recorded/ordinalScopes/changeEveryFirstThreeTokens.yml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
languageId: plaintext | ||
command: | ||
version: 6 | ||
spokenForm: change every first three tokens | ||
action: | ||
name: clearAndSetSelection | ||
target: | ||
type: primitive | ||
modifiers: | ||
- type: ordinalScope | ||
scopeType: {type: token} | ||
start: 0 | ||
length: 3 | ||
isEvery: true | ||
usePrePhraseSnapshot: true | ||
initialState: | ||
documentContents: aaa bbb ccc ddd | ||
selections: | ||
- anchor: {line: 0, character: 0} | ||
active: {line: 0, character: 0} | ||
marks: {} | ||
finalState: | ||
documentContents: " ddd" | ||
selections: | ||
- anchor: {line: 0, character: 0} | ||
active: {line: 0, character: 0} | ||
- anchor: {line: 0, character: 1} | ||
active: {line: 0, character: 1} | ||
- anchor: {line: 0, character: 2} | ||
active: {line: 0, character: 2} |
30 changes: 30 additions & 0 deletions
30
...rless-vscode-e2e/src/suite/fixtures/recorded/ordinalScopes/changeEveryLastThreeTokens.yml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
languageId: plaintext | ||
command: | ||
version: 6 | ||
spokenForm: change every last three tokens | ||
action: | ||
name: clearAndSetSelection | ||
target: | ||
type: primitive | ||
modifiers: | ||
- type: ordinalScope | ||
scopeType: {type: token} | ||
start: -3 | ||
length: 3 | ||
isEvery: true | ||
usePrePhraseSnapshot: true | ||
initialState: | ||
documentContents: aaa bbb ccc ddd | ||
selections: | ||
- anchor: {line: 0, character: 0} | ||
active: {line: 0, character: 0} | ||
marks: {} | ||
finalState: | ||
documentContents: "aaa " | ||
selections: | ||
- anchor: {line: 0, character: 4} | ||
active: {line: 0, character: 4} | ||
- anchor: {line: 0, character: 5} | ||
active: {line: 0, character: 5} | ||
- anchor: {line: 0, character: 6} | ||
active: {line: 0, character: 6} |
31 changes: 31 additions & 0 deletions
31
...less-vscode-e2e/src/suite/fixtures/recorded/relativeScopes/changeEveryNextThreeTokens.yml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
languageId: plaintext | ||
command: | ||
version: 6 | ||
spokenForm: change every next three tokens | ||
action: | ||
name: clearAndSetSelection | ||
target: | ||
type: primitive | ||
modifiers: | ||
- type: relativeScope | ||
scopeType: {type: token} | ||
offset: 1 | ||
length: 3 | ||
direction: forward | ||
isEvery: true | ||
usePrePhraseSnapshot: true | ||
initialState: | ||
documentContents: aaa bbb ccc ddd | ||
selections: | ||
- anchor: {line: 0, character: 0} | ||
active: {line: 0, character: 0} | ||
marks: {} | ||
finalState: | ||
documentContents: "aaa " | ||
selections: | ||
- anchor: {line: 0, character: 4} | ||
active: {line: 0, character: 4} | ||
- anchor: {line: 0, character: 5} | ||
active: {line: 0, character: 5} | ||
- anchor: {line: 0, character: 6} | ||
active: {line: 0, character: 6} |
31 changes: 31 additions & 0 deletions
31
...-vscode-e2e/src/suite/fixtures/recorded/relativeScopes/changeEveryPreviousThreeTokens.yml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
languageId: plaintext | ||
command: | ||
version: 6 | ||
spokenForm: change every previous three tokens | ||
action: | ||
name: clearAndSetSelection | ||
target: | ||
type: primitive | ||
modifiers: | ||
- type: relativeScope | ||
scopeType: {type: token} | ||
offset: 1 | ||
length: 3 | ||
direction: backward | ||
isEvery: true | ||
usePrePhraseSnapshot: true | ||
initialState: | ||
documentContents: aaa bbb ccc ddd | ||
selections: | ||
- anchor: {line: 0, character: 15} | ||
active: {line: 0, character: 15} | ||
marks: {} | ||
finalState: | ||
documentContents: " ddd" | ||
selections: | ||
- anchor: {line: 0, character: 0} | ||
active: {line: 0, character: 0} | ||
- anchor: {line: 0, character: 1} | ||
active: {line: 0, character: 1} | ||
- anchor: {line: 0, character: 2} | ||
active: {line: 0, character: 2} |
31 changes: 31 additions & 0 deletions
31
...rsorless-vscode-e2e/src/suite/fixtures/recorded/relativeScopes/changeEveryThreeTokens.yml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
languageId: plaintext | ||
command: | ||
version: 6 | ||
spokenForm: change every three tokens | ||
action: | ||
name: clearAndSetSelection | ||
target: | ||
type: primitive | ||
modifiers: | ||
- type: relativeScope | ||
scopeType: {type: token} | ||
offset: 0 | ||
length: 3 | ||
direction: forward | ||
isEvery: true | ||
usePrePhraseSnapshot: true | ||
initialState: | ||
documentContents: aaa bbb ccc ddd | ||
selections: | ||
- anchor: {line: 0, character: 0} | ||
active: {line: 0, character: 0} | ||
marks: {} | ||
finalState: | ||
documentContents: " ddd" | ||
selections: | ||
- anchor: {line: 0, character: 0} | ||
active: {line: 0, character: 0} | ||
- anchor: {line: 0, character: 1} | ||
active: {line: 0, character: 1} | ||
- anchor: {line: 0, character: 2} | ||
active: {line: 0, character: 2} |
31 changes: 31 additions & 0 deletions
31
...-vscode-e2e/src/suite/fixtures/recorded/relativeScopes/changeEveryThreeTokensBackward.yml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
languageId: plaintext | ||
command: | ||
version: 6 | ||
spokenForm: change every three tokens backward | ||
action: | ||
name: clearAndSetSelection | ||
target: | ||
type: primitive | ||
modifiers: | ||
- type: relativeScope | ||
scopeType: {type: token} | ||
offset: 0 | ||
length: 3 | ||
direction: backward | ||
isEvery: true | ||
usePrePhraseSnapshot: true | ||
initialState: | ||
documentContents: aaa bbb ccc ddd | ||
selections: | ||
- anchor: {line: 0, character: 15} | ||
active: {line: 0, character: 15} | ||
marks: {} | ||
finalState: | ||
documentContents: "aaa " | ||
selections: | ||
- anchor: {line: 0, character: 4} | ||
active: {line: 0, character: 4} | ||
- anchor: {line: 0, character: 5} | ||
active: {line: 0, character: 5} | ||
- anchor: {line: 0, character: 6} | ||
active: {line: 0, character: 6} |