Skip to content

Commit ae46167

Browse files
committed
Upgrade tutorial steps
1 parent 1b9a97b commit ae46167

26 files changed

+119
-67
lines changed

src/test/suite/fixtures/recorded/tutorial/extra-cloning-a-talon-list/bringBlockMade.yml

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,16 @@
11
languageId: python
22
command:
3-
version: 1
43
spokenForm: bring block made
5-
action: replaceWithTarget
4+
version: 2
65
targets:
76
- type: primitive
8-
selectionType: paragraph
97
mark: {type: decoratedSymbol, symbolColor: default, character: m}
8+
modifiers:
9+
- type: containingScope
10+
scopeType: {type: paragraph}
1011
- {type: primitive, isImplicit: true}
12+
usePrePhraseSnapshot: false
13+
action: {name: replaceWithTarget}
1114
initialState:
1215
documentContents: |+
1316
from talon import Context, Module

src/test/suite/fixtures/recorded/tutorial/extra-cloning-a-talon-list/clearCoreSun.yml

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,16 @@
11
languageId: python
22
command:
3-
version: 1
43
spokenForm: clear core sun
5-
action: clearAndSetSelection
4+
version: 2
65
targets:
76
- type: primitive
8-
modifier: {type: surroundingPair, delimiter: any, delimiterInclusion: interiorOnly}
97
mark: {type: decoratedSymbol, symbolColor: default, character: s}
8+
modifiers:
9+
- {type: interiorOnly}
10+
- type: containingScope
11+
scopeType: {type: surroundingPair, delimiter: any}
12+
usePrePhraseSnapshot: false
13+
action: {name: clearAndSetSelection}
1014
initialState:
1115
documentContents: |-
1216
from talon import Context, Module

src/test/suite/fixtures/recorded/tutorial/extra-cloning-a-talon-list/clearCoreYank.yml

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,16 @@
11
languageId: python
22
command:
3-
version: 1
43
spokenForm: clear core yank
5-
action: clearAndSetSelection
4+
version: 2
65
targets:
76
- type: primitive
8-
modifier: {type: surroundingPair, delimiter: any, delimiterInclusion: interiorOnly}
97
mark: {type: decoratedSymbol, symbolColor: default, character: 'y'}
8+
modifiers:
9+
- {type: interiorOnly}
10+
- type: containingScope
11+
scopeType: {type: surroundingPair, delimiter: any}
12+
usePrePhraseSnapshot: false
13+
action: {name: clearAndSetSelection}
1014
initialState:
1115
documentContents: |-
1216
from talon import Context, Module

src/test/suite/fixtures/recorded/tutorial/extra-cloning-a-talon-list/clearDownScoreAndCap.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,16 @@
11
languageId: python
22
command:
3-
version: 1
43
spokenForm: clear down score and cap
5-
action: clearAndSetSelection
4+
version: 2
65
targets:
76
- type: list
87
elements:
98
- type: primitive
109
mark: {type: decoratedSymbol, symbolColor: default, character: _}
1110
- type: primitive
1211
mark: {type: decoratedSymbol, symbolColor: default, character: c}
12+
usePrePhraseSnapshot: false
13+
action: {name: clearAndSetSelection}
1314
initialState:
1415
documentContents: |-
1516
from talon import Context, Module

src/test/suite/fixtures/recorded/tutorial/extra-cloning-a-talon-list/clearRepperLeper.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,12 @@
11
languageId: python
22
command:
3-
version: 1
43
spokenForm: clear repper leper
5-
action: clearAndSetSelection
4+
version: 2
65
targets:
76
- type: primitive
87
mark: {type: decoratedSymbol, symbolColor: default, character: )}
8+
usePrePhraseSnapshot: false
9+
action: {name: clearAndSetSelection}
910
initialState:
1011
documentContents: |-
1112
from talon import Context, Module

src/test/suite/fixtures/recorded/tutorial/extra-cloning-a-talon-list/clearWhale.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,12 @@
11
languageId: python
22
command:
3-
version: 1
43
spokenForm: clear whale
5-
action: clearAndSetSelection
4+
version: 2
65
targets:
76
- type: primitive
87
mark: {type: decoratedSymbol, symbolColor: default, character: w}
8+
usePrePhraseSnapshot: false
9+
action: {name: clearAndSetSelection}
910
initialState:
1011
documentContents: |-
1112
from talon import Context, Module

src/test/suite/fixtures/recorded/tutorial/extra-cloning-a-talon-list/takeLookCloneLineWordFrown.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,12 @@
11
languageId: python
22
command:
3-
version: 1
43
spokenForm: take look clone line word frown
5-
action: setSelection
4+
version: 2
65
targets:
76
- type: primitive
87
mark: {type: decoratedSymbol, symbolColor: default, character: l}
8+
usePrePhraseSnapshot: false
9+
action: {name: setSelection}
910
initialState:
1011
documentContents: |-
1112
from talon import Context, Module

src/test/suite/fixtures/recorded/tutorial/extra-cloning-a-talon-list/takeLookCloneLineWordFrown2.yml

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,14 @@
11
languageId: python
22
command:
3-
version: 1
43
spokenForm: take look clone line word frown
5-
action: insertCopyAfter
4+
version: 2
65
targets:
7-
- {type: primitive, selectionType: line}
6+
- type: primitive
7+
modifiers:
8+
- type: containingScope
9+
scopeType: {type: line}
10+
usePrePhraseSnapshot: false
11+
action: {name: insertCopyAfter}
812
initialState:
913
documentContents: |-
1014
from talon import Context, Module

src/test/suite/fixtures/recorded/tutorial/unit-1-basics/chuckDrum.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,12 @@
11
languageId: plaintext
22
command:
3-
version: 1
43
spokenForm: chuck drum
5-
action: remove
4+
version: 2
65
targets:
76
- type: primitive
87
mark: {type: decoratedSymbol, symbolColor: default, character: d}
8+
usePrePhraseSnapshot: false
9+
action: {name: remove}
910
initialState:
1011
documentContents: |-
1112
==================================================

src/test/suite/fixtures/recorded/tutorial/unit-1-basics/chuckLineLook.yml

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,15 @@
11
languageId: plaintext
22
command:
3-
version: 1
43
spokenForm: chuck line look
5-
action: remove
4+
version: 2
65
targets:
76
- type: primitive
8-
selectionType: line
97
mark: {type: decoratedSymbol, symbolColor: default, character: l}
8+
modifiers:
9+
- type: containingScope
10+
scopeType: {type: line}
11+
usePrePhraseSnapshot: false
12+
action: {name: remove}
1013
initialState:
1114
documentContents: |-
1215
==================================================

0 commit comments

Comments
 (0)