(editorLine: number)
| 38 | |
| 39 | /** 0-based editor line to 1-based graph line. */ |
| 40 | export function toGraphLine(editorLine: number): number { |
| 41 | return editorLine + 1; |
| 42 | } |
| 43 | |
| 44 | /** 1-based graph line to 0-based editor line, clamped so it never goes negative. */ |
| 45 | export function toEditorLine(graphLine: number): number { |
no outgoing calls
no test coverage detected