()
| 130 | } |
| 131 | |
| 132 | deleteWordForward(): void { |
| 133 | const wordEnd = this.findWordBoundary(this._cursor, "right"); |
| 134 | if (wordEnd > this._cursor) { |
| 135 | this._text = |
| 136 | this._text.slice(0, this._cursor) + this._text.slice(wordEnd); |
| 137 | } |
| 138 | } |
| 139 | |
| 140 | private deleteLineBackward(): void { |
| 141 | if (this._cursor === 0) { |
no test coverage detected