Skip to content

[git-changebar] Marker unload fixes, and system color support - #1599

Open
WrapEarnPass wants to merge 2 commits into
geany:masterfrom
WrapEarnPass:gitchangebarfix
Open

[git-changebar] Marker unload fixes, and system color support#1599
WrapEarnPass wants to merge 2 commits into
geany:masterfrom
WrapEarnPass:gitchangebarfix

Conversation

@WrapEarnPass

@WrapEarnPass WrapEarnPass commented Jul 31, 2026

Copy link
Copy Markdown

Why is this?
As noted in #1558, when git-changebar unloads, it doesn't cleanup all its markers.
As requested in the same ticket, git-changebar only has one color scheme, but geany supports many. Provide an option to allow git-changebar to use system colors.

As a note, since git-changebar uses markers, and colors are set for lines, I stole the foreground color from

# Diff
line_added
line_removed
line_changed

to use as the marker background.
I also had to abuse editor-notify as geany doesn't emit any signals for colorscheme-change.

Fixes #1558
Contributed under GPL-2.0-or-later.

Add ui element for system color
Add handler for system color
Add editor-notify abuse to ensure colors are set if system color is true
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

git-changebar: support light and dark colorschemes

1 participant