{"version":"2.1.314","anchor":"code-highlighting-budget-with-a-truncation-notice","canonical_anchor":"code-highlighting-budget-with-a-truncation-notice","heading":"Very long code-heavy messages stop colouring code partway through","tier":"notice","area":"Terminal UI","scope":"individual","heads_up":false,"url":"https:\/\/changelogs.core-directive.com\/v\/2.1.314\/e\/code-highlighting-budget-with-a-truncation-notice","release_url":"https:\/\/changelogs.core-directive.com\/v\/2.1.314","markdown":"### Very long code-heavy messages stop colouring code partway through\n\nEach message now has a limit on code colouring; past it, later code blocks show plain and a one-line notice appears\n\n**What**\n\nSyntax highlighting is the colouring that makes code easier to read. Each message now has a set amount of highlighting work it can use, shared across all its code blocks. Once that is used up, later code blocks are shown as plain text.\n\nA single notice appears once to say so: \"Syntax highlighting stops here. This message has more code than is highlighted at once.\"\n\n**Why**\n\nMessages with a lot of code should show up faster. The trade-off is that the later code in them has no colour.\n\n- Area: Terminal UI\n- Tier: You'll notice\n- Useful: 2\/5\n- Signal: 1\/5\n- Scope: individual\n- Heads-up: no"}