[Github-comments] [geany/geany] Size symbols and fold margins proportional to line height (#1738)

Colomban Wendling notifications at xxxxx
Fri Jan 12 06:33:00 UTC 2018


> 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 or view it on GitHub:
https://github.com/geany/geany/pull/1738#issuecomment-357154937
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.geany.org/pipermail/github-comments/attachments/20180111/b14157f5/attachment.html>


More information about the Github-comments mailing list