(diff: string)
| 120 | } |
| 121 | |
| 122 | public addDiffToContext(diff: string): void { |
| 123 | this.diffContext.push(diff); |
| 124 | if (this.diffContext.length > 5) { |
| 125 | this.diffContext.shift(); |
| 126 | } |
| 127 | } |
| 128 | |
| 129 | public addAutocompleteContext(ctx: string): void { |
| 130 | this.autocompleteContext = ctx; |
no test coverage detected