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

elextr notifications at xxxxx
Fri Jan 12 05:50:51 UTC 2018


elextr commented on this pull request.



>  /* symbol margin visibility */
 void sci_set_symbol_margin(ScintillaObject *sci, gboolean set)
 {
 	if (set)
 	{
-		SSM(sci, SCI_SETMARGINWIDTHN, 1, 16);
+		gint width = margin_width_from_line_height(sci, 0.88, 16);

@b4n, well, 18 might be right on your monitor, but its probably 36 on @codebrainz 4k monitor.

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


More information about the Github-comments mailing list