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

Method advance

src/utils/Cursor.ts:639–639  ·  view source on GitHub ↗
(p: number)

Source from the content-addressed store, hash-verified

637
638 let pos = this.offset
639 const advance = (p: number): number => this.measuredText.nextOffset(p)
640
641 const currentGrapheme = this.graphemeAt(pos)
642 if (!currentGrapheme) {

Callers

nothing calls this directly

Calls 1

nextOffsetMethod · 0.80

Tested by

no test coverage detected