MCPcopy Index your code
hub / github.com/codeaashu/claude-code / findLogicalLineEnd

Method findLogicalLineEnd

src/utils/Cursor.ts:468–471  ·  view source on GitHub ↗
(fromOffset: number = this.offset)

Source from the content-addressed store, hash-verified

466 }
467
468 private findLogicalLineEnd(fromOffset: number = this.offset): number {
469 const nextNewline = this.text.indexOf('\n', fromOffset)
470 return nextNewline === -1 ? this.text.length : nextNewline
471 }
472
473 // Helper to get logical line bounds for current position
474 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