mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-04-19 14:29:29 +02:00
SynEdit: code formatting only. Issue #0026309
git-svn-id: trunk@46371 -
This commit is contained in:
parent
6c44e911b9
commit
49860d6d3d
@ -1693,7 +1693,7 @@ var
|
||||
|
||||
fMarkupManager.FinishMarkupForRow(CurTextIndex+1);
|
||||
end;
|
||||
CurLine:=-1;
|
||||
CurLine := -1;
|
||||
AClip.Top := rcLine.Bottom;
|
||||
end;
|
||||
|
||||
@ -1720,11 +1720,11 @@ begin
|
||||
colEditorBG := BackgroundColor;
|
||||
// If the right edge is visible and in the invalid area, prepare to paint it.
|
||||
// Do this first to realize the pen when getting the dc variable.
|
||||
bDoRightEdge := FALSE;
|
||||
bDoRightEdge := False;
|
||||
if FRightEdgeVisible then begin // column value
|
||||
nRightEdge := FTextBounds.Left + (RightEdgeColumn - LeftChar + 1) * CharWidth; // pixel value
|
||||
if (nRightEdge >= AClip.Left) and (nRightEdge <= AClip.Right) then
|
||||
bDoRightEdge := TRUE;
|
||||
bDoRightEdge := True;
|
||||
if nRightEdge > AClip.Right then
|
||||
nRightEdge := AClip.Right; // for divider draw lines (don't draw into right gutter)
|
||||
end
|
||||
|
Loading…
Reference in New Issue
Block a user