diff options
author | nyamatongwe <devnull@localhost> | 2013-04-16 13:49:03 +1000 |
---|---|---|
committer | nyamatongwe <devnull@localhost> | 2013-04-16 13:49:03 +1000 |
commit | f17c785c236648e3370efc1006b81f2b73946ce0 (patch) | |
tree | 5833c5c8dbf24af12f9b98cea373f94a4d72d83d /src | |
parent | b2a885541dcc4466851bea72f1e42993d3db48e1 (diff) | |
download | scintilla-mirror-f17c785c236648e3370efc1006b81f2b73946ce0.tar.gz |
Add indicator INDIC_COMPOSITIONTHICK, a thick low underline, to mimic an
appearance used for Asian language input composition.
Diffstat (limited to 'src')
-rw-r--r-- | src/Indicator.cxx | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/Indicator.cxx b/src/Indicator.cxx index da75cbb85..ac7435156 100644 --- a/src/Indicator.cxx +++ b/src/Indicator.cxx @@ -152,6 +152,9 @@ void Indicator::Draw(Surface *surface, const PRectangle &rc, const PRectangle &r surface->FillRectangle(rcDot, fore); x += 2; } + } else if (style == INDIC_COMPOSITIONTHICK) { + PRectangle rcComposition(rc.left+1, rcLine.bottom-2, rc.right-1, rcLine.bottom); + surface->FillRectangle(rcComposition, fore); } else { // Either INDIC_PLAIN or unknown surface->MoveTo(rc.left, ymid); surface->LineTo(rc.right, ymid); |