The length of the consortium spaces is less than expected in Notepad ++

I created a custom language for Haml files in Notepad ++. He has a Consolas / 10 all over the board. The style is applied perfectly, except that spaces do not have the same letter length. What could be wrong?

Consolas on a user defined language

Update:

If I set the Ruby language font to Consolas / 10, the spaces are the same length as the letters.

Consolas from a predefined language

+5
source share
3 answers

There is a GlobalStyles section at the end of your template file. Set the fontName = "Console" everywhere. Restart Notepad ++ for the change to take effect.

In my case, the template file is "Plastic Code Wrap.xml"

+5
source

notepad ++, ​​ Consolas. NP.3 6.1.3 (UNICODE), , .

, , C, ​​ " UTF-8 ".

.

, , , .

-

0

This is a bold style parameter that causes the problem. You must "Enable Global Bold" in global styles. I would suggest that italics might cause the same problem.

0
source

All Articles