diff options
author | nyamatongwe <devnull@localhost> | 2009-11-01 10:47:34 +0000 |
---|---|---|
committer | nyamatongwe <devnull@localhost> | 2009-11-01 10:47:34 +0000 |
commit | a307f5df25fbf8f4e545bdd74a7da6a466568497 (patch) | |
tree | 63eb822cd4e3836e6f53045066cadfde3980d484 /src/Editor.cxx | |
parent | dbe307598244e62b0f16c39eee078f1c19fa396c (diff) | |
download | scintilla-mirror-a307f5df25fbf8f4e545bdd74a7da6a466568497.tar.gz |
Fix for bug #2890105, last line has EOLFilled style but blank space before
background colour.
Diffstat (limited to 'src/Editor.cxx')
-rw-r--r-- | src/Editor.cxx | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/Editor.cxx b/src/Editor.cxx index ce3d467f4..727429921 100644 --- a/src/Editor.cxx +++ b/src/Editor.cxx @@ -2318,6 +2318,8 @@ void Editor::DrawEOL(Surface *surface, ViewStyle &vsDraw, PRectangle rcLine, Lin surface->FillRectangle(rcSegment, background); } else if (line < pdoc->LinesTotal() - 1) { surface->FillRectangle(rcSegment, vsDraw.styles[ll->styles[ll->numCharsInLine] & styleMask].back.allocated); + } 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); } |