If the "Change history" feature is enabled in Geany, it might lead to 
styling issues in the tooltip displaying the diff of the current hunk. So 
always disable this feature for the tooltip where it is not needed.

I don't think we ever need the "Change history" in the diff 
tooltip, as the tooltip itself is already the improved version of the change 
history :).

![gcb_200](https://github.com/geany/geany-plugins/assets/617017/2b307df5-fccf-475c-901c-619e8c72541e)
This happens when the "Change history" feature is enabled in Geany, 
so it gets also enabled in the Scintilla widget for the tooltip where we 
don't need it.
For some reason, by setting the margin widths to 0 in 
https://github.com/geany/geany-plugins/blob/master/git-changebar/src/gcb-plugin.c#L840
 the background colors in the Scintilla widget are reset to white (or something 
else happens with a similar result, I don't understand completely the 
relation between the margin visibility and the line background color).
Anyway, disable change history prevents this issue.
You can view, comment on, or merge this pull request online at:

  https://github.com/geany/geany-plugins/pull/1281

-- Commit Summary --

  * GitChangebar: disable Scintilla's Change History in diff tooltip

-- File Changes --

    M git-changebar/src/gcb-plugin.c (1)

-- Patch Links --

https://github.com/geany/geany-plugins/pull/1281.patch
https://github.com/geany/geany-plugins/pull/1281.diff

-- 
Reply to this email directly or view it on GitHub:
https://github.com/geany/geany-plugins/pull/1281
You are receiving this because you are subscribed to this thread.

Message ID: <geany/geany-plugins/pull/[email protected]>

Reply via email to