sainc-tech left a comment (geany/geany#4638) I FOUND THE ISSUE! by fixing the code into LineMarker.cxx! look at before AND after code of meow! in geany/scintilla/src/LineMarker.cxx!
Before: <img width="1902" height="1007" alt="Image" src="https://github.com/user-attachments/assets/340715f5-e2f4-4678-8a85-887b48bf4430" /> case MarkerSymbol::Bar: { // Hide cap by continuing a bit. constexpr XYPOSITION continueLength = 5.0; PRectangle rcBar = rcWhole; const XYPOSITION widthBar = std::ceil(rcWhole.Width() / 3.0); rcBar.left = centreX - std::floor(widthBar / 2.0); rcBar.right = rcBar.left + widthBar; surface->SetClip(rcWhole); // Hide continued caps switch (part) { case LineMarker::FoldPart::headWithTail: surface->RectangleDraw(rcBar, FillStroke(back, fore, strokeWidth)); // puts fore as outlined and back as filled! therefore making box issue i dont want!!! break; case LineMarker::FoldPart::head: rcBar.bottom += continueLength; surface->RectangleDraw(rcBar, FillStroke(back, fore, strokeWidth)); break; case LineMarker::FoldPart::tail: rcBar.top -= continueLength; surface->RectangleDraw(rcBar, FillStroke(back, fore, strokeWidth)); break; case LineMarker::FoldPart::body: rcBar.top -= continueLength; rcBar.bottom += continueLength; surface->RectangleDraw(rcBar, FillStroke(back, fore, strokeWidth)); break; default: break; } surface->PopClip(); } break; After: <img width="1920" height="1010" alt="Image" src="https://github.com/user-attachments/assets/f6965e67-3870-4232-acbf-5270d0f8d0b9" /> case MarkerSymbol::Bar: { // Hide cap by continuing a bit. constexpr XYPOSITION continueLength = 5.0; PRectangle rcBar = rcWhole; const XYPOSITION widthBar = std::ceil(rcWhole.Width() / 3.0); rcBar.left = centreX - std::floor(widthBar / 2.0); rcBar.right = rcBar.left + widthBar; surface->SetClip(rcWhole); // Hide continued caps switch (part) { case LineMarker::FoldPart::headWithTail: surface->FillRectangle(rcBar, fore); // uses fore instead of back AND fore! as a result it becomes FULLY colored with orange! break; case LineMarker::FoldPart::head: rcBar.bottom += continueLength; surface->FillRectangle(rcBar, fore); break; case LineMarker::FoldPart::tail: rcBar.top -= continueLength; surface->FillRectangle(rcBar, fore); break; case LineMarker::FoldPart::body: rcBar.top -= continueLength; rcBar.bottom += continueLength; surface->FillRectangle(rcBar, fore); break; default: break; } surface->PopClip(); } break; I hope this helps u! thanks to geany! and its closed by me! ;) - SA.inc! -- Reply to this email directly or view it on GitHub: https://github.com/geany/geany/issues/4638#issuecomment-5164209820 You are receiving this because you are subscribed to this thread. Message ID: <geany/geany/issues/4638/[email protected]>
