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

Method getLogicalLineBounds

src/utils/Cursor.ts:474–479  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

472
473 // Helper to get logical line bounds for current position
474 private getLogicalLineBounds(): { start: number; end: number } {
475 return {
476 start: this.findLogicalLineStart(),
477 end: this.findLogicalLineEnd(),
478 }
479 }
480
481 // Helper to create cursor with preserved column, clamped to line length
482 // 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