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

Method findLogicalLineEnd

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

Source from the content-addressed store, hash-verified

441 }
442
443 private findLogicalLineEnd(fromOffset: number = this.offset): number {
444 const nextNewline = this.text.indexOf('\n', fromOffset)
445 return nextNewline === -1 ? this.text.length : nextNewline
446 }
447
448 // Helper to get logical line bounds for current position
449 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