(prepared: PreparedTextWithSegments)
| 52 | } |
| 53 | |
| 54 | export function getLineTextCache(prepared: PreparedTextWithSegments): Map<number, string[]> { |
| 55 | let cache = sharedLineTextCaches.get(prepared) |
| 56 | if (cache !== undefined) return cache |
| 57 | |
| 58 | cache = new Map<number, string[]>() |
| 59 | sharedLineTextCaches.set(prepared, cache) |
| 60 | return cache |
| 61 | } |
| 62 | |
| 63 | export function buildLineTextFromRange( |
| 64 | prepared: PreparedTextWithSegments, |
no outgoing calls
no test coverage detected
searching dependent graphs…