mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-09-05 21:20:33 +02:00
synedit: change drawing of [...] folded char a bit
git-svn-id: trunk@18197 -
This commit is contained in:
parent
c0109e8c01
commit
83485fbc51
@ -2984,7 +2984,7 @@ var
|
||||
BGfold := colEditorBG;
|
||||
FFfold := Font.Color;
|
||||
Sfold := [];
|
||||
MarkupInfo := fMarkupManager.GetMarkupAttributeAtRowCol(FFoldedLinesView.TextIndex[CurLine]+1, CurPhysPos);
|
||||
MarkupInfo := fMarkupManager.GetMarkupAttributeAtRowCol(FFoldedLinesView.TextIndex[CurLine]+1, CurPhysPos + 3);
|
||||
if MarkupInfo <> nil then
|
||||
MarkupInfo.ModifyColors(FGfold, BGfold, FFfold, Sfold);
|
||||
FoldedCodeInfo := FoldedCodeColor;
|
||||
@ -2997,7 +2997,7 @@ var
|
||||
end;
|
||||
|
||||
rcToken.Left := ScreenColumnToXValue(CurPhysPos+3);
|
||||
rcToken.Right := ScreenColumnToXValue(CurPhysPos+8);
|
||||
rcToken.Right := ScreenColumnToXValue(CurPhysPos+6);
|
||||
|
||||
FTextDrawer.FrameColor := FFfold;
|
||||
FTextDrawer.ForeColor := FGfold;
|
||||
@ -3012,7 +3012,7 @@ var
|
||||
rcToken.Right := Min(rcToken.Right, rcLine.Right);
|
||||
if rcToken.Right > rcToken.Left then
|
||||
fTextDrawer.ExtTextOut(rcToken.Left, rcToken.Top, ETOOptions-ETO_OPAQUE,
|
||||
rcToken, ' ... ', 5);
|
||||
rcToken, '...', 3);
|
||||
end;
|
||||
|
||||
end;
|
||||
|
Loading…
Reference in New Issue
Block a user