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

Method startOfCurrentLine

src/utils/Cursor.ts:389–399  ·  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

387 * This is the raw version used internally by startOfLine.
388 */
389 private startOfCurrentLine(): Cursor {
390 const { line } = this.getPosition()
391 return new Cursor(
392 this.measuredText,
393 this.getOffset({
394 line,
395 column: 0,
396 }),
397 0,
398 )
399 }
400
401 startOfLine(): Cursor {
402 const { line, column } = this.getPosition()

Callers 1

startOfLineMethod · 0.95

Calls 2

getPositionMethod · 0.95
getOffsetMethod · 0.95

Tested by

no test coverage detected