aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/Indicator.cxx
diff options
context:
space:
mode:
authorNeil <nyamatongwe@gmail.com>2015-01-22 15:11:02 +1100
committerNeil <nyamatongwe@gmail.com>2015-01-22 15:11:02 +1100
commit4a7c0965659d0b99b9a68c19480272e049cc26fa (patch)
treebe627c068f2865b1d503474348cf1ed0c0637c5c /src/Indicator.cxx
parentc7852c7755eea5c7b31a7fa75cf96eb98a0b47f2 (diff)
downloadscintilla-mirror-4a7c0965659d0b99b9a68c19480272e049cc26fa.tar.gz
Add INDIC_COMPOSITIONTHIN indicator.
Diffstat (limited to 'src/Indicator.cxx')
-rw-r--r--src/Indicator.cxx3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/Indicator.cxx b/src/Indicator.cxx
index d8ad64ed6..daf62aa02 100644
--- a/src/Indicator.cxx
+++ b/src/Indicator.cxx
@@ -155,6 +155,9 @@ void Indicator::Draw(Surface *surface, const PRectangle &rc, const PRectangle &r
} else if (style == INDIC_COMPOSITIONTHICK) {
PRectangle rcComposition(rc.left+1, rcLine.bottom-2, rc.right-1, rcLine.bottom);
surface->FillRectangle(rcComposition, fore);
+ } else if (style == INDIC_COMPOSITIONTHIN) {
+ PRectangle rcComposition(rc.left+1, rcLine.bottom-2, rc.right-1, rcLine.bottom-1);
+ surface->FillRectangle(rcComposition, fore);
} else { // Either INDIC_PLAIN or unknown
surface->MoveTo(static_cast<int>(rc.left), ymid);
surface->LineTo(static_cast<int>(rc.right), ymid);