View unanswered posts | View active topics


Reply to topic  [ 1 post ] 
[TINY TIP] How to increase line height in code editor 
Author Message
Member

Joined: Tue Apr 24, 2012 10:10 am
Posts: 10
Location: Belfast, UK
Post [TINY TIP] How to increase line height in code editor
Hi,

After digging through Scintilla docs I finally found a way to increase spacing between code lines. Since Scintilla calculates line height after the biggest font size in style configuration, we can easily take advantage of this behavior.

Go to "Tools > Syntax coloring", choose your language context and slightly increase font size for some obscure style (I found "indentguide" to work very well in this case).

Your eyes will thank you in the evening :)

Small demo of before and after (default style = Consolas @ 10px, indentguide set to 11px):

Image

Cheers,
Komb


Fri Apr 27, 2012 9:41 am
Profile
Display posts from previous:  Sort by  
Reply to topic   [ 1 post ] 

Who is online

Users browsing this forum: No registered users and 3 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group.
Designed by ST Software for PTF.