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

Method findLogicalLineEnd

source code/utils/Cursor.ts:470–473  ·  view source on GitHub ↗
(fromOffset: number = this.offset)

Source from the content-addressed store, hash-verified

468 }
469
470 private findLogicalLineEnd(fromOffset: number = this.offset): number {
471 const nextNewline = this.text.indexOf('\n', fromOffset)
472 return nextNewline === -1 ? this.text.length : nextNewline
473 }
474
475 // Helper to get logical line bounds for current position
476 private getLogicalLineBounds(): { start: number; end: number } {

Callers 3

getLogicalLineBoundsMethod · 0.95
endOfLogicalLineMethod · 0.95
downLogicalLineMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected