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

Method retreat

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

Source from the content-addressed store, hash-verified

741
742 let pos = this.offset
743 const retreat = (p: number): number => this.measuredText.prevOffset(p)
744
745 pos = retreat(pos)
746

Callers

nothing calls this directly

Calls 1

prevOffsetMethod · 0.80

Tested by

no test coverage detected