diff options
author | nyamatongwe <unknown> | 2009-07-24 09:00:57 +0000 |
---|---|---|
committer | nyamatongwe <unknown> | 2009-07-24 09:00:57 +0000 |
commit | 45d45d62cb03b6228f2747b0789590d7d92b72b4 (patch) | |
tree | d7a854629f1ca762d10be1c3f11008e8422cd25b | |
parent | c68e9078a88e4d437f80c132c39606d22e6c62e0 (diff) | |
download | scintilla-mirror-45d45d62cb03b6228f2747b0789590d7d92b72b4.tar.gz |
Hide end of line selection when unfocused.
-rw-r--r-- | src/Editor.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Editor.cxx b/src/Editor.cxx index 764794fb2..d0c270184 100644 --- a/src/Editor.cxx +++ b/src/Editor.cxx @@ -2338,7 +2338,7 @@ void Editor::DrawEOL(Surface *surface, ViewStyle &vsDraw, PRectangle rcLine, Lin } else { surface->FillRectangle(rcSegment, vsDraw.styles[STYLE_DEFAULT].back.allocated); } - if (vsDraw.selEOLFilled && eolInSelection && vsDraw.selbackset && (line < pdoc->LinesTotal() - 1) && (alpha != SC_ALPHA_NOALPHA)) { + if (!hideSelection && vsDraw.selEOLFilled && eolInSelection && vsDraw.selbackset && (line < pdoc->LinesTotal() - 1) && (alpha != SC_ALPHA_NOALPHA)) { SimpleAlphaRectangle(surface, rcSegment, SelectionBackground(vsDraw, eolInSelection == 1), alpha); } } |