There is probably a very simple solutions for this, but i accidentally pressed something and now there is more space between the lines than usual, how can i fix it? Its not really a big deal but its annoying that one Xml file looks different than the others.
This is how it looks:
And this is how it looked before:
The problem fixed itself! After restarting my computer and eclipse several times the line spacing is now back to normal.
Is it zoomed in? Ctrl + scroll wheel should solve it/cause it.
*Edit: you could try changing the font size. Instructions here: http://alagad.com/2007/06/15/changing-the-font-size-in-eclipse/
*Edit 2: Ctrl and plus/minus buttons? I don't have eclipse at work to try these.
I've cloned and installed the font from
and made it my IDE editor font for Eclipse. Line spacing is much better now!