()
| 880 | } |
| 881 | |
| 882 | deleteToLogicalLineEnd(): Cursor { |
| 883 | // If cursor is on a newline character, delete just that character |
| 884 | if (this.text[this.offset] === '\n') { |
| 885 | return this.modifyText(this.right()) |
| 886 | } |
| 887 | |
| 888 | return this.modifyText(this.endOfLogicalLine()) |
| 889 | } |
| 890 | |
| 891 | deleteWordBefore(): { cursor: Cursor; killed: string } { |
| 892 | if (this.isAtStart()) { |
nothing calls this directly
no test coverage detected