Home

Output lines starting with a single space ignore that space

This can be reproduced with
@"
---
*
*
*
*
*
---"
as the entirety of a C# Expression query. This produces

---
*
*
*
*
*
---
as the output. This is true both visually and when copying the output to the clipboard.

Wrapping the output in Util.FixedFont() doesn't correct the behavior, either. Multiple initial spaces are consistently respected.

I found a prior report from April 2015, but the reporter didn't follow up. I have noticed this issue persisting through multiple LINQPad versions myself, though not that far back.

Comments

Sign In or Register to comment.