LarsGit223 commented on this pull request.
> @@ -305,6 +306,21 @@ static gchar *create_statusbar_statistics(GeanyDocument
> *doc,
g_string_append_printf(stats_str, "%d",
sci_get_style_at(doc->editor->sci,
pos));
break;
+ case 'z':
+ zoom = sci_get_zoom(doc->editor->sci);
+ if (zoom != 0)
+ {
+ gint size, percent;
+
+ size =
sci_get_fontsize(doc->editor->sci, STYLE_DEFAULT);
+ if (size > 0)
+ {
+ percent = (size + zoom) * 100 /
size;
+ g_string_append_c(stats_str, '
');
Done.
--
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/1697#discussion_r305068054