author | wenzelm |
Fri, 30 Aug 2013 10:01:25 +0200 | |
changeset 53313 | 2e745fc40416 |
parent 53302 | 98fdf6c34142 |
child 53314 | be1c07ec768f |
--- a/src/Pure/Isar/completion.scala Fri Aug 30 00:11:01 2013 +0200 +++ b/src/Pure/Isar/completion.scala Fri Aug 30 10:01:25 2013 +0200 @@ -112,7 +112,9 @@ val ds = (if (decode) cs.map(Symbol.decode(_)).sorted else cs) if (ds.isEmpty) None else { - val immediate = !Completion.is_word(word) + val immediate = + !Completion.is_word(word) && + Character.codePointCount(word, 0, word.length) > 1 Some((word, ds.map(s => Completion.Item(word, s, s, immediate)))) } case None => None