()
| 905 | } |
| 906 | |
| 907 | deleteToLogicalLineEnd(): Cursor { |
| 908 | // If cursor is on a newline character, delete just that character |
| 909 | if (this.text[this.offset] === '\n') { |
| 910 | return this.modifyText(this.right()) |
| 911 | } |
| 912 | |
| 913 | return this.modifyText(this.endOfLogicalLine()) |
| 914 | } |
| 915 | |
| 916 | deleteWordBefore(): { cursor: Cursor; killed: string } { |
| 917 | if (this.isAtStart()) { |
nothing calls this directly
no test coverage detected