| 140 | |
| 141 | /** The note when the server pages source and a page did not arrive. */ |
| 142 | export function pagingNoteFor(lastLine: number, fileLastLine: number | undefined): string { |
| 143 | if (fileLastLine === undefined) { |
| 144 | return `lines after ${lastLine} not loaded: a further page of source did not arrive from the server (get_code_snippet).`; |
| 145 | } |
| 146 | return `lines ${lastLine + 1}-${fileLastLine} not loaded: a further page of source did not arrive from the server (get_code_snippet).`; |
| 147 | } |
| 148 | |
| 149 | /** |
| 150 | * Der Satz unter dem Quelltext, wenn nicht die ganze Datei angekommen ist. |