|
| 1 | +languageId: typescript |
| 2 | +command: |
| 3 | + version: 6 |
| 4 | + spokenForm: bring air and bat and cap after item each |
| 5 | + action: |
| 6 | + name: replaceWithTarget |
| 7 | + source: |
| 8 | + type: list |
| 9 | + elements: |
| 10 | + - type: primitive |
| 11 | + mark: {type: decoratedSymbol, symbolColor: default, character: a} |
| 12 | + - type: primitive |
| 13 | + mark: {type: decoratedSymbol, symbolColor: default, character: b} |
| 14 | + - type: primitive |
| 15 | + mark: {type: decoratedSymbol, symbolColor: default, character: c} |
| 16 | + destination: |
| 17 | + type: primitive |
| 18 | + insertionMode: after |
| 19 | + target: |
| 20 | + type: primitive |
| 21 | + modifiers: |
| 22 | + - type: containingScope |
| 23 | + scopeType: {type: collectionItem} |
| 24 | + mark: {type: decoratedSymbol, symbolColor: default, character: e} |
| 25 | + usePrePhraseSnapshot: false |
| 26 | +initialState: |
| 27 | + documentContents: | |
| 28 | + a |
| 29 | + b |
| 30 | + c |
| 31 | +
|
| 32 | + const values = [e] |
| 33 | + selections: |
| 34 | + - anchor: {line: 5, character: 0} |
| 35 | + active: {line: 5, character: 0} |
| 36 | + marks: |
| 37 | + default.a: |
| 38 | + start: {line: 0, character: 0} |
| 39 | + end: {line: 0, character: 1} |
| 40 | + default.b: |
| 41 | + start: {line: 1, character: 0} |
| 42 | + end: {line: 1, character: 1} |
| 43 | + default.c: |
| 44 | + start: {line: 2, character: 0} |
| 45 | + end: {line: 2, character: 1} |
| 46 | + default.e: |
| 47 | + start: {line: 4, character: 16} |
| 48 | + end: {line: 4, character: 17} |
| 49 | +finalState: |
| 50 | + documentContents: | |
| 51 | + a |
| 52 | + b |
| 53 | + c |
| 54 | +
|
| 55 | + const values = [e, a, b, c] |
| 56 | + selections: |
| 57 | + - anchor: {line: 5, character: 0} |
| 58 | + active: {line: 5, character: 0} |
| 59 | + thatMark: |
| 60 | + - type: UntypedTarget |
| 61 | + contentRange: |
| 62 | + start: {line: 4, character: 19} |
| 63 | + end: {line: 4, character: 26} |
| 64 | + isReversed: false |
| 65 | + hasExplicitRange: true |
| 66 | + sourceMark: |
| 67 | + - type: UntypedTarget |
| 68 | + contentRange: |
| 69 | + start: {line: 0, character: 0} |
| 70 | + end: {line: 0, character: 1} |
| 71 | + isReversed: false |
| 72 | + hasExplicitRange: true |
| 73 | + - type: UntypedTarget |
| 74 | + contentRange: |
| 75 | + start: {line: 1, character: 0} |
| 76 | + end: {line: 1, character: 1} |
| 77 | + isReversed: false |
| 78 | + hasExplicitRange: true |
| 79 | + - type: UntypedTarget |
| 80 | + contentRange: |
| 81 | + start: {line: 2, character: 0} |
| 82 | + end: {line: 2, character: 1} |
| 83 | + isReversed: false |
| 84 | + hasExplicitRange: true |
0 commit comments