Skip to content
This repository was archived by the owner on Dec 22, 2023. It is now read-only.

Increase Line Spacing

jacobslusser edited this page May 31, 2015 · 2 revisions

Feeling like your text is a little too cramped? Having a little extra space between lines can sometimes help the readability of code. In some text editors and IDEs you would need to use a different font which has a larger ascent and/or descent (I'm looking at you Visual Studio). In Scintilla you can increase the text ascent and decent independently of the font using the ExtraAscent and ExtraDescent properties.

// Increase line spacing
scintilla.ExtraAscent = 5;
scintilla.ExtraDescent = 5;
Clone this wiki locally