From e1b221d110c2cc72451e0faf3c0059569659d4b9 Mon Sep 17 00:00:00 2001 From: martin Date: Sat, 15 Sep 2012 15:18:01 +0000 Subject: [PATCH] SynEdit: Fixed past eol paint error git-svn-id: trunk@38670 - --- components/synedit/lazsyntextarea.pp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/components/synedit/lazsyntextarea.pp b/components/synedit/lazsyntextarea.pp index 06e319c39b..ab06ca70ce 100644 --- a/components/synedit/lazsyntextarea.pp +++ b/components/synedit/lazsyntextarea.pp @@ -1190,7 +1190,7 @@ var tok.Right := nRightEdge; if (fsUnderline in MarkupInfo.Style) or (HasFrame) then fTextDrawer.ExtTextOut(tok.Right, tok.Top, ETOOptions, tok, - @Spaces, 1, rcLine.Bottom) + @Spaces[1], 1, rcLine.Bottom) else InternalFillRect(dc, tok); rcToken.Left := nRightEdge; @@ -1201,7 +1201,7 @@ var if (fsUnderline in MarkupInfo.Style) or (HasFrame) then fTextDrawer.ExtTextOut(rcToken.Right, rcToken.Top, ETOOptions, rcToken, - @Spaces, 1, rcLine.Bottom) + @Spaces[1], 1, rcLine.Bottom) else InternalFillRect(dc, rcToken); rcToken.Left := nX1; @@ -1733,7 +1733,7 @@ var tok.Right := nRightEdge; if (fsUnderline in MarkupInfo.Style) or (HasFrame) then fTextDrawer.ExtTextOut(tok.Right, tok.Top, ETO_OPAQUE, tok, - @Spaces, 1, rcLine.Bottom) + @Spaces[1], 1, rcLine.Bottom) else InternalFillRect(dc, tok); rcToken.Left := nRightEdge; @@ -1744,7 +1744,7 @@ var if (fsUnderline in MarkupInfo.Style) or (HasFrame) then fTextDrawer.ExtTextOut(rcToken.Right, rcToken.Top, ETO_OPAQUE, rcToken, - @Spaces, 1, rcLine.Bottom) + @Spaces[1], 1, rcLine.Bottom) else InternalFillRect(dc, rcToken); rcToken.Left := nX1;