Is it normal that text is not rendered as fixed-width in strings?

Answered

Is it expected that text does not always render as fixed-width in strings? Outside of strings everything is fine.

Here's a test case:

"XXXXXXXXXXXXXXXXX-"
"XXXXXXXXXXXXXXXXX–"

 

Note the difference between "-" (top line) and "–" (bottom line).

It is also triggered by other characters such as β.

I have IDEA 2016.1.3 on OS X.  I did not change the default font (Menlo).

2 comments
Comment actions Permalink

There was a related fix for 2016.2: https://youtrack.jetbrains.com/issue/IDEA-136202.

Could you please check if it's still a problem for your test with the new build from https://confluence.jetbrains.com/display/IDEADEV/IDEA+2016.2+EAP?

1
Comment actions Permalink

Yes, this version fixes the problem.

0

Please sign in to leave a comment.