CodeMirror does not consider some symbols like asterisks as part of a word. We on the other hand believe that all symbols are created equal (except whitespaces and spaces of other colours).