MCPcopy
hub / github.com/codeaashu/claude-code / deleteToLogicalLineEnd

Method deleteToLogicalLineEnd

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

Source from the content-addressed store, hash-verified

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

Callers

nothing calls this directly

Calls 3

modifyTextMethod · 0.95
rightMethod · 0.95
endOfLogicalLineMethod · 0.95

Tested by

no test coverage detected