This fixes #425 for me, but I haven’t investigated exactly why this extra pixel is necessary, so I may be doing something wrong. You can view, comment on, or merge this pull request online at:
https://github.com/geany/geany-plugins/pull/564
-- Commit Summary --
* git-changebar: Fix spurious line wrapping
-- File Changes --
M git-changebar/src/gcb-plugin.c (5)
-- Patch Links --
https://github.com/geany/geany-plugins/pull/564.patch https://github.com/geany/geany-plugins/pull/564.diff
b4n approved this pull request.
OK, I don't get why this extra pixel would be needed without looking at Scintilla's code (which is kind of scary in this area), but the change is innocent enough and indeed fixes the issue for me too. Good job :+1:
And thanks for also thinking of adding a comprehensive comment on the magic `+2` :)
Merged #564.
github-comments@lists.geany.org