(
endSegmentIndex = lineEndSegmentIndex,
endGraphemeIndex = lineEndGraphemeIndex,
width = lineW,
)
| 322 | } |
| 323 | |
| 324 | function emitCurrentLine( |
| 325 | endSegmentIndex = lineEndSegmentIndex, |
| 326 | endGraphemeIndex = lineEndGraphemeIndex, |
| 327 | width = lineW, |
| 328 | ): void { |
| 329 | lineCount++ |
| 330 | onLine?.( |
| 331 | width, |
| 332 | lineStartSegmentIndex, |
| 333 | lineStartGraphemeIndex, |
| 334 | endSegmentIndex, |
| 335 | endGraphemeIndex, |
| 336 | ) |
| 337 | lineW = 0 |
| 338 | hasContent = false |
| 339 | clearPendingBreak() |
| 340 | } |
| 341 | |
| 342 | function startLineAtSegment(segmentIndex: number, width: number): void { |
| 343 | hasContent = true |
no test coverage detected
searching dependent graphs…