Return one cell's code text without rail, gutter, sign, or line-number decorations.
(spans: RenderSpan[], horizontalOffset = 0)
| 448 | |
| 449 | /** Return one cell's code text without rail, gutter, sign, or line-number decorations. */ |
| 450 | function cellCodeText(spans: RenderSpan[], horizontalOffset = 0) { |
| 451 | return sliceTextByWidth(spansText(spans), Math.max(0, horizontalOffset), Number.MAX_SAFE_INTEGER) |
| 452 | .text; |
| 453 | } |
| 454 | |
| 455 | function buildPlainSplitCellLines( |
| 456 | cell: SplitLineCell, |
no test coverage detected