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

Method getLogicalLineBounds

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

Source from the content-addressed store, hash-verified

447
448 // Helper to get logical line bounds for current position
449 private getLogicalLineBounds(): { start: number; end: number } {
450 return {
451 start: this.findLogicalLineStart(),
452 end: this.findLogicalLineEnd(),
453 }
454 }
455
456 // Helper to create cursor with preserved column, clamped to line length
457 // 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