From c63e121d1a4846433f3b50c2c86daadb8dbd48ff Mon Sep 17 00:00:00 2001 From: nyamatongwe Date: Sat, 29 Mar 2008 10:54:23 +0000 Subject: Removed redundant drawing from feature request #1924618. --- src/Editor.cxx | 7 ------- 1 file changed, 7 deletions(-) (limited to 'src') diff --git a/src/Editor.cxx b/src/Editor.cxx index 7f4ddcb51..af60624ff 100644 --- a/src/Editor.cxx +++ b/src/Editor.cxx @@ -2099,13 +2099,6 @@ void Editor::DrawEOL(Surface *surface, ViewStyle &vsDraw, PRectangle rcLine, Lin rcSegment.left = xEol + vsDraw.aveCharWidth + xStart; rcSegment.right = rcLine.right; - if (overrideBackground) { - surface->FillRectangle(rcSegment, background); - } else if (vsDraw.styles[ll->styles[ll->numCharsInLine] & styleMask].eolFilled) { - surface->FillRectangle(rcSegment, vsDraw.styles[ll->styles[ll->numCharsInLine] & styleMask].back.allocated); - } else { - surface->FillRectangle(rcSegment, vsDraw.styles[STYLE_DEFAULT].back.allocated); - } if (vsDraw.selEOLFilled && eolInSelection && vsDraw.selbackset && (line < pdoc->LinesTotal() - 1) && (vsDraw.selAlpha == SC_ALPHA_NOALPHA)) { surface->FillRectangle(rcSegment, SelectionBackground(vsDraw)); -- cgit v1.2.3