diff options
author | nyamatongwe <unknown> | 2009-11-01 10:47:34 +0000 |
---|---|---|
committer | nyamatongwe <unknown> | 2009-11-01 10:47:34 +0000 |
commit | dde4d3e2775b52a8b678d209c2299ec637210a03 (patch) | |
tree | 63eb822cd4e3836e6f53045066cadfde3980d484 | |
parent | e57233bef4ef3a9d2ddcd2422fc40550cb7b13da (diff) | |
download | scintilla-mirror-dde4d3e2775b52a8b678d209c2299ec637210a03.tar.gz |
Fix for bug #2890105, last line has EOLFilled style but blank space before
background colour.
-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); } |