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

Method getLogicalLineBounds

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

Source from the content-addressed store, hash-verified

474
475 // Helper to get logical line bounds for current position
476 private getLogicalLineBounds(): { start: number; end: number } {
477 return {
478 start: this.findLogicalLineStart(),
479 end: this.findLogicalLineEnd(),
480 }
481 }
482
483 // Helper to create cursor with preserved column, clamped to line length
484 // Snaps to grapheme boundary to avoid landing mid-grapheme

Callers 3

upLogicalLineMethod · 0.95
downLogicalLineMethod · 0.95

Calls 2

findLogicalLineStartMethod · 0.95
findLogicalLineEndMethod · 0.95

Tested by

no test coverage detected