| 7233 | // windows it wherever it lands. Charging the full body kept it as the |
| 7234 | // most important member and then had no room left for anything beside it. |
| 7235 | const sizeOf = (r: ExploreRange) => (oversizeSpineSet.has(r) ? spineWindowOf(r) : [r]) |
| 7236 | .reduce((n, w) => n + fileLines.slice(w.start - 1, w.end).join('\n').length, 0); |
| 7237 | let kept = 0; |
| 7238 | // Rendered size of what is kept so far, once the first incidental member |
| 7239 | // is weighed. Every protected member sorts ahead of it, so this is the |