LarsGit223 commented on this pull request.


> @@ -304,6 +305,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;

I agree, out-of-scope for this PR.

-- 
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_r331467291

Reply via email to