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

Method startOfCurrentLine

src/utils/Cursor.ts:414–424  ·  view source on GitHub ↗

* Move to the start of the current line (column 0). * This is the raw version used internally by startOfLine.

()

Source from the content-addressed store, hash-verified

412 * This is the raw version used internally by startOfLine.
413 */
414 private startOfCurrentLine(): Cursor {
415 const { line } = this.getPosition()
416 return new Cursor(
417 this.measuredText,
418 this.getOffset({
419 line,
420 column: 0,
421 }),
422 0,
423 )
424 }
425
426 startOfLine(): Cursor {
427 const { line, column } = this.getPosition()

Callers 1

startOfLineMethod · 0.95

Calls 2

getPositionMethod · 0.95
getOffsetMethod · 0.95

Tested by

no test coverage detected