(part: TranscriptPart)
| 619 | } |
| 620 | |
| 621 | function partToAttributes(part: TranscriptPart) { |
| 622 | let attributes = TextAttributes.NONE |
| 623 | |
| 624 | if (part.bold) { |
| 625 | attributes |= TextAttributes.BOLD |
| 626 | } |
| 627 | |
| 628 | if (part.dimColor) { |
| 629 | attributes |= TextAttributes.DIM |
| 630 | } |
| 631 | |
| 632 | return attributes |
| 633 | } |
| 634 | |
| 635 | function buildTranscriptLines(entries: TranscriptEntry[], columns: number) { |
| 636 | const labelWidth = 7 |