MCPcopy Create free account
hub / github.com/codeaashu/claude-code / wrappedLines

Method wrappedLines

src/utils/Cursor.ts:1143–1148  ·  view source on GitHub ↗

* Lazily computes and caches wrapped lines. * This expensive operation is deferred until actually needed.

()

Source from the content-addressed store, hash-verified

1141 * This expensive operation is deferred until actually needed.
1142 */
1143 private get wrappedLines(): WrappedLine[] {
1144 if (!this._wrappedLines) {
1145 this._wrappedLines = this.measureWrappedText()
1146 }
1147 return this._wrappedLines
1148 }
1149
1150 private getGraphemeBoundaries(): number[] {
1151 if (!this.graphemeBoundaries) {

Callers

nothing calls this directly

Calls 1

measureWrappedTextMethod · 0.95

Tested by

no test coverage detected