[Req] Configurable line-spacing

Discussion Forums discussion [Req] Configurable line-spacing

This topic contains 0 voices and has 2 replies.

Viewing 3 posts - 1 through 3 (of 3 total)
Author Posts
Author Posts
April 26, 2006 at 11:12 am #55

CoMiKe
Member

Hi!

I’ve been using Notepad++ for my editing needs for some time, but it lacks the option to configure tools, and I badly need it.

Then I found PNotepad, and I think it’s a great editor.

The only downside is that it has very little line spacing, so the code doesn’t look as clear as I would want.

You can take a look at this image that compares line-spacing in Notepad++ and PNotepad line-spacing.

Anyway, you’ve made a fantastic work to get this editor.

Best regards.

April 26, 2006 at 3:04 pm #14952

dsowa
Member

I don’t think there is a way to directly change the interline spacing but I think you can accomplish what you want like this.

go to the options dialog, and look in the schemes section.

edit the scheme for the type of file you will be editing

In the styles tab each text style can have an independent font/size/color etc. the Scintilla control that pn2 is based on spaces all the lines based on the largest font in its list. So if you use a 10 point font as your standard editing font and you change one of the font styles to an 11 point font,(I used UUID) Scintilla will space everything out to 11 points giving a bit more space between lines.

If a full point jump in spacing is too much you would have to experiment with other fonts to find one that gives an interline spacing you like.

This isn’t as easy as a direct adjustment but a direct adjustment would be very difficult given the really flexible font control that pn2/scintilla provides.

April 26, 2006 at 11:43 pm #14953

CoMiKe
Member

That’s what I call a great workaround. :-D

Setting whitespace font size to 12pt, PNotepad displays the same line spacing that is shown in Notepad++.

Anyway, Notepad++ also uses the Scintilla component (that’s the reason for my love to PNotepad and Notepad++), so I think if they’ve done the linespacing option for Notepad++, it should also be possible in PNotepad.

All in all, I’m more than satisfied with your proposed workaround. I recommend everyone to use it, as the code looks much cleaner. Thanks a lot!!!

Viewing 3 posts - 1 through 3 (of 3 total)

You must be logged in to reply to this topic.