[Github-comments] [geany/geany-plugins] git-changebar: Height of overlay not adjusted when line wrap is in effect. (#425)

Vasiliy Faronov notifications at xxxxx
Wed Apr 19 13:06:00 UTC 2017


I think you meant width?

For me, this issue is fixed if I just add 1 more pixel to the requested width:

```
diff --git a/git-changebar/src/gcb-plugin.c b/git-changebar/src/gcb-plugin.c
index 5f29ced..852b602 100644
--- a/git-changebar/src/gcb-plugin.c
+++ b/git-changebar/src/gcb-plugin.c
@@ -802,6 +802,7 @@ get_widget_for_buf_range (GeanyDocument *doc,
       break;
     }
   }
+  width += 1;
   gtk_widget_set_size_request (GTK_WIDGET (sci),
                                MIN (width + 1, alloc.width),
                                MIN (height + 1, alloc.height));
```

-- 
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-plugins/issues/425#issuecomment-295262915
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.geany.org/pipermail/github-comments/attachments/20170419/332d4ca4/attachment.html>


More information about the Github-comments mailing list