For instance, in the screenshot below, the split view shows a circle where the git-changebar shows a diff and these markers are life-added/removed as the code is edited.

I had a look at the code but I don't understand how it is possible that the split window's Scintilla gets affected by the marker change in the main window. From what I understand, the split window plugin shares the underlying Scintilla buffer with the main window so the changes made in one editor appear in the other editor. But this IMO shouldn't affect things like markers because the Scintilla instances are separate.

I kind of understand why it's the white circle - it's the marker number 0 and it's not set to the right value for the split window but I don't understand why it appears at all. I also tried adding some extra code to git-changebar to make sure that e.g. some Geany callback doesn't return the split window's Scintilla but it doesn't seem to be the case.

(This is not some recent regression - I tried it with Geany 1.38 and it behaves the same way.)

Screenshot 2023-10-16 at 13 35 06


Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you are subscribed to this thread.Message ID: <geany/geany/issues/3603@github.com>