User forums > Using Code::Blocks

Line spacing in editor

(1/1)

ron.dunn:
Is there a setting to increase the line spacing in the editor?

In Scintilla it should be possible with the following functions, but I can't find equivalent settings.

SCI_SETEXTRAASCENT(int extraAscent)
SCI_SETEXTRADESCENT(int extraDescent)

ollydbg:
If you look at this file: sdk\wxscintilla\include\wx\wxscintilla.h

You will see some code snippet:


--- Code: ---    // Set extra ascent for each line
    void SetExtraAscent(int extraAscent);

    // Get extra ascent for each line
    int GetExtraAscent() const;

--- End code ---

But after searching, I see those 2 functions are not called by other clients, so my guess is that you need a way to call them.

Navigation

[0] Message Index

Go to full version