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.)

<img width="812" alt="Screenshot 2023-10-16 at 13 35 06" 
src="https://github.com/geany/geany/assets/713965/3d8011bf-3ca5-47f6-8a9b-2b8fcd283f02";>


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

Message ID: <geany/geany/issues/[email protected]>

Reply via email to