{"version":"2.1.235","anchor":"text-truncation-now-returns-headtail-parts-rather-than-a-pr","canonical_anchor":"text-truncation-now-returns-headtail-parts-rather-than-a-pr","heading":"Text truncation now returns head\/tail parts rather than a pre-joined ellipsis string","tier":"internal","area":"Elsewhere","scope":null,"heads_up":null,"url":"https:\/\/changelogs.core-directive.com\/v\/2.1.235\/e\/text-truncation-now-returns-headtail-parts-rather-than-a-pr","release_url":"https:\/\/changelogs.core-directive.com\/v\/2.1.235","markdown":"### Text truncation now returns head\/tail parts rather than a pre-joined ellipsis string\n\nText truncation now returns head\/tail parts for callers to join, and display offsets are precomputed instead of re-trimmed per row\n\nThe truncation helper now returns `{ head, tail }` objects instead of a pre-joined ellipsis string, with callers responsible for joining them. The renderer routes `truncate-start`, `truncate-middle` and `middle` modes through this new path. The measured-line class also precomputes `displayText` and `displayStartOffset` so highlight offsets are computed once rather than being re-trimmed on every row.\n\n- Area: Elsewhere\n- Tier: Under the hood\n- Useful: 1\/5\n- Signal: 0\/5"}