mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-20 01:04:27 +02:00
SynEdit: fix for redrawing fold gutter (offset after end-node would sometimes be ignored)
git-svn-id: trunk@18049 -
This commit is contained in:
parent
8928a1a17b
commit
fbcdd456e7
@ -147,6 +147,8 @@ begin
|
|||||||
if not Visible then exit;
|
if not Visible then exit;
|
||||||
LineHeight := TSynEdit(FEdit).LineHeight;
|
LineHeight := TSynEdit(FEdit).LineHeight;
|
||||||
LineOffset := 0;
|
LineOffset := 0;
|
||||||
|
if (iLine > 0) and (FFoldView.FoldType[iLine-1] = cfEnd) then
|
||||||
|
LineOffset := 2;
|
||||||
BoxSize := Min(Width, LineHeight - cNodeOffset*2);
|
BoxSize := Min(Width, LineHeight - cNodeOffset*2);
|
||||||
|
|
||||||
if MarkupInfoCodeFoldingTree.Background <> clNone then
|
if MarkupInfoCodeFoldingTree.Background <> clNone then
|
||||||
|
Loading…
Reference in New Issue
Block a user