BTW why did you scale it off the line height not the character width?

Because Scintilla's filling the rectangle [margin width, line height] with the symbol, and most symbols we use are square, so it's the most efficient use of space.

Also does SCI_TEXTHEIGHT() include the configurable extradescent/ascent or not?

Not sure, but my guess would be it's accounting for the whole height the line uses on screen. But that's and interesting question.


You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or mute the thread.