MCPcopy Create free account
hub / github.com/freecodexyz/free-code / constructor

Method constructor

src/utils/Cursor.ts:1131–1137  ·  view source on GitHub ↗
(
    text: string,
    readonly columns: number,
  )

Source from the content-addressed store, hash-verified

1129 private graphemeBoundaries?: number[]
1130
1131 constructor(
1132 text: string,
1133 readonly columns: number,
1134 ) {
1135 this.text = text.normalize('NFC')
1136 this.navigationCache = new Map()
1137 }
1138
1139 /**
1140 * Lazily computes and caches wrapped lines.

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected