Huge single lines in code and diffs are trimmed with a dimmed marker showing how much was cut.
What's wrong with this entry?
Code blocks and diffs now truncate each line at a character cap and append a dimmed [+N chars] marker showing how much was dropped, so a file with one enormous line no longer stalls rendering.
- The dropped count is tracked per line and the marker is re-applied after syntax highlighting, so colouring does not swallow it.
truncatedChars
Strings lifted out of the shipped bundle, so the claim above can be checked against them.
Related
Other releases about the same thing. Found by shared names or similar wording; neither means one caused the other.
-
v2.1.247
Diff collection has a time budget and reports files it gave up on
Both mention diff
-
v2.1.234
Region marking can copy a mask instead of only filling it
Both mention rendering
-
v2.1.234
The scrolling list was rebuilt by the React compiler
Both mention rendering