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

Colomban Wendling notifications at xxxxx
Fri Jan 12 05:39:04 UTC 2018


b4n commented on this pull request.



> @@ -166,7 +185,9 @@ void sci_set_folding_margin_visible(ScintillaObject *sci, gboolean set)
 {
 	if (set)
 	{
-		SSM(sci, SCI_SETMARGINWIDTHN, 2, 12);
+		gint width = margin_width_from_line_height(sci, 0.66, 12);

Similarly, `12/18` = ⅔

-- 
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#pullrequestreview-88383761
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.geany.org/pipermail/github-comments/attachments/20180112/5c0e122b/attachment.html>


More information about the Github-comments mailing list