diff options
author | Neil <nyamatongwe@gmail.com> | 2014-10-02 23:10:05 +1000 |
---|---|---|
committer | Neil <nyamatongwe@gmail.com> | 2014-10-02 23:10:05 +1000 |
commit | fe43f7aaab38338a02d1be42e6c7e2e326175243 (patch) | |
tree | 1edca67df8669eff8687bb6c9f181722577eeb52 /src | |
parent | 30a60738e192c69c4ab734d95e75aecf9f1f244f (diff) | |
download | scintilla-mirror-fe43f7aaab38338a02d1be42e6c7e2e326175243.tar.gz |
Allocate indicators for IME use after previously allowed indicators.
Diffstat (limited to 'src')
-rw-r--r-- | src/Decoration.cxx | 4 |
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; |