MCPcopy Create free account
hub / github.com/AnukarOP/claude-code-leaked / deleteToLogicalLineEnd

Method deleteToLogicalLineEnd

source code/utils/Cursor.ts:909–916  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

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

Callers

nothing calls this directly

Calls 3

modifyTextMethod · 0.95
rightMethod · 0.95
endOfLogicalLineMethod · 0.95

Tested by

no test coverage detected