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