aboutsummaryrefslogtreecommitdiffhomepage
path: root/src
diff options
context:
space:
mode:
authornyamatongwe <devnull@localhost>2009-07-24 09:00:57 +0000
committernyamatongwe <devnull@localhost>2009-07-24 09:00:57 +0000
commitb89f661d0b47b603f9166e9f30a4b47935cdffa8 (patch)
treed7a854629f1ca762d10be1c3f11008e8422cd25b /src
parent81c08be7a9e72d4cfb6f288799cd5b131cd260dd (diff)
downloadscintilla-mirror-b89f661d0b47b603f9166e9f30a4b47935cdffa8.tar.gz
Hide end of line selection when unfocused.
Diffstat (limited to 'src')
-rw-r--r--src/Editor.cxx2
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);
}
}