{"version":"2.1.323","anchor":"dynamic-workflow-permission-dialog-gains-a-framenotice-code","canonical_anchor":"dynamic-workflow-permission-dialog-gains-a-framenotice-code","heading":"Wrapped lines in diffs and code views keep their line numbers","tier":"notice","area":"Workflows","scope":"individual","heads_up":false,"url":"https:\/\/changelogs.core-directive.com\/v\/2.1.323\/e\/dynamic-workflow-permission-dialog-gains-a-framenotice-code","release_url":"https:\/\/changelogs.core-directive.com\/v\/2.1.323","markdown":"### Wrapped lines in diffs and code views keep their line numbers\n\nDiffs and the dynamic workflow code view handle wrapped lines with `rowsBroken`, and the workflow approval dialog gains a frame notice\n\n**What**\n\nWhen a line in a diff, the view that shows what changed in a file, is too long and wraps onto a second row, the extra row no longer counts as a new line.\n\n- The diff renderer takes a new `rowsBroken` option. A continuation row keeps the previous line number and skips syntax colouring. Before, every row advanced the line number.\n\n- The `workflow.js` code view in the 'Run a dynamic workflow?' permission dialog also gets a `rowsBroken` prop.\n\n- The same dialog now passes a `frameNotice` to the frame drawn around it.\n\n**Why**\n\nLine numbers shown next to long, wrapped lines now match the real lines in the file, so you can find the line being changed more easily.\n\n- Area: Workflows\n- Tier: You'll notice\n- Useful: 2\/5\n- Signal: 1\/5\n- Scope: individual\n- Heads-up: no"}