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).
- Left and right directional copies added. - Left over debug logging removed - Changed to `let` over `var`