aboutsummaryrefslogtreecommitdiffhomepage
path: root/src
diff options
context:
space:
mode:
authorNeil <nyamatongwe@gmail.com>2014-10-02 23:10:05 +1000
committerNeil <nyamatongwe@gmail.com>2014-10-02 23:10:05 +1000
commit9ed4211f1ff5d13a0a8b9fe301063b603e4f2c8e (patch)
tree4e453eaa1a5248cf9ca0833b6f3bfd5b646c90b0 /src
parent066a690a0070d72ce0124eb35e80542399080d4a (diff)
downloadscintilla-mirror-9ed4211f1ff5d13a0a8b9fe301063b603e4f2c8e.tar.gz
Allocate indicators for IME use after previously allowed indicators.
Diffstat (limited to 'src')
-rw-r--r--src/Decoration.cxx4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/Decoration.cxx b/src/Decoration.cxx
index 72c7a331f..e7610e0b6 100644
--- a/src/Decoration.cxx
+++ b/src/Decoration.cxx
@@ -163,7 +163,9 @@ int DecorationList::AllOnFor(int position) const {
int mask = 0;
for (Decoration *deco=root; deco; deco = deco->next) {
if (deco->rs.ValueAt(position)) {
- mask |= 1 << deco->indicator;
+ if (deco->indicator < INDIC_IME) {
+ mask |= 1 << deco->indicator;
+ }
}
}
return mask;