9

I used CCleaner on my pc and restarted.

After I restarted I opened Notepad++ and was told that config.xml was gone.

Afterwards, my previous opened .txt document was opened but the font and spacing was all wrong. I was able to fix font but not the spacing.

The new spacing is:

enter image description here

and I want it changed back to:

enter image description here

I tried Settings -> Preferences -> Editing but no luck.

DavidPostill
  • 162,382
Lucyfer
  • 379

4 Answers4

18

To change the line spacing go to SettingsStyle Configurator.

On the left select Global Styles under Language then Brace Highlight Style under Style and then change the Font size.

enter image description here

Ayan
  • 3,029
8

This fix wouldn't work for me, so I kept trying and I found what would work for me in the Settings>Style Configurator>Language: Global Style in the left field and Style: Line Number Margin' in the right field; from there, just change the font size on the far right.

DavidPostill
  • 162,382
Myrtle
  • 81
3

Building on the answers by Ayan and Myrtle, I think what's happening is Style settings with Font size set to a number will force the line spacing to a minimum of that size, which makes no sense for some settings. If you go through the Style settings, you will see most have nothing in the box for Font size.

What you want is to clear the sizes from settings that should not have them, that way the font size specified under Default Style will control the line spacing as well as font size. Go to Language Global Styles → Style Brace highlight style. In the Font size box, click on the dropdown and note the top entry in the list is blank. Select that; now the box should be empty and it will not affect the line spacing. I think the default style is not meant to have a number there. Do the same for Style Line number margin.

Now go to Style Default Style. As you change Font size you should see the line spacing follow the font size correctly.

Marc
  • 329
0

As an extension to other answers, you can also change font size for Bad brace colour instead of Brace highlight style to change line height. In my opinion this works better, because you will see less jumping-up-and-down brackets while editing, and the brackets that don't match will also be more visible.