Open lrhn opened 6 months ago
can you explain this properly. and add some images and examples
Have expanded on the description, and added an example that reproduces the issue.
The examples already show the problem of displaying output intended for fixed-width fonts in a proportional font.
Hasn't landed yet. Font is still proportional. (Linux desktop.)
The error output from the compiler is displayed in a proportional font. Since it contains lines with "^"s that point into the prior line, based on character count, the position of that
^
is not correct when viewed using a proportional font, and important in information is lost or misleading.. Compare:with
In the latter, it's possible to see that the
^
is on they
. In the former, probably depending on font, OS and scaling, it seems like the^
points nearer to the,
afterx
, which is not where the error is.To reproduce, use fx:
and try to run it. The compiler error output (bottom right) is shown in proportional font, and shows an
^
pointing near thex
, not at they
as it should.