MCPcopy Index your code
hub / github.com/claude-code-best/claude-code / deleteToLogicalLineEnd

Method deleteToLogicalLineEnd

src/utils/Cursor.ts:882–889  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

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()) {

Callers

nothing calls this directly

Calls 3

modifyTextMethod · 0.95
rightMethod · 0.95
endOfLogicalLineMethod · 0.95

Tested by

no test coverage detected