()
| 21 | // The wrapper starts empty; CodeBlockContent.update() syncs spans on demand |
| 22 | // via `syncLineNumbersSpans` (delta updates, no full innerHTML rewrite). |
| 23 | export function lineNumbersWrapperHTML(): string { |
| 24 | return `<span class="${LINE_NUMBERS_ROWS_CLASS}" contenteditable="false" aria-hidden="true"></span>`; |
| 25 | } |
| 26 | |
| 27 | // Add or remove `<span>` children so wrapper.childElementCount === count. |
| 28 | // O(delta), not O(count) — typing within a line is free once the count |
no outgoing calls
no test coverage detected