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

Method getWrappedText

src/utils/Cursor.ts:1371–1375  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

1369 }
1370
1371 public getWrappedText(): WrappedText {
1372 return this.wrappedLines.map(line =>
1373 line.isPrecededByNewline ? line.text : line.text.trimStart(),
1374 )
1375 }
1376
1377 public getWrappedLines(): WrappedLine[] {
1378 return this.wrappedLines

Callers 5

getViewportStartLineMethod · 0.80
renderMethod · 0.80
upMethod · 0.80
downMethod · 0.80
firstNonBlankInLineMethod · 0.80

Calls 1

trimStartMethod · 0.80

Tested by

no test coverage detected