()
| 404 | } |
| 405 | |
| 406 | private moveToEnd() { |
| 407 | const n = this.curLine.length - this.cursorPos + 1; |
| 408 | if (n > 0) { |
| 409 | this.writeEmitter.fire(ACTIONS.cursorForward(n)); |
| 410 | this.cursorPos += n; |
| 411 | } |
| 412 | } |
| 413 | |
| 414 | private moveToBeg() { |
| 415 | const n = this.cursorPos - 1; |
no test coverage detected