{"version":"2.1.271","anchor":"difflog-rendering-can-now-split-into-separate-gutter-and-co","canonical_anchor":"difflog-rendering-can-now-split-into-separate-gutter-and-co","heading":"Diff\/log rendering can now split into separate gutter and content arrays","tier":"internal","area":"Elsewhere","scope":null,"heads_up":null,"url":"https:\/\/changelogs.core-directive.com\/v\/2.1.271\/e\/difflog-rendering-can-now-split-into-separate-gutter-and-co","release_url":"https:\/\/changelogs.core-directive.com\/v\/2.1.271","markdown":"### Diff\/log rendering can now split into separate gutter and content arrays\n\nDiff and log output can now render gutter (line-number margin) and content as separate arrays\n\n**What**\n\nThe internal code that renders lines for diffs and logs (things like line numbers and change markers) can now return its output split into two parallel pieces: one array for the 'gutter' (the margin showing line numbers or markers) and one for the actual content, via a new `renderSplit` method. When no gutter width is set, it still returns a single combined `lines` array as before.\n\n**Why**\n\nSeparating gutter and content lets the display line the two up more precisely, which should help diff and log views render more accurately when columns need to align.\n\n- Area: Elsewhere\n- Tier: Under the hood\n- Useful: 2\/5\n- Signal: 1\/5"}