title: why 'CodeMirror.hint.anyword' doesn't work in react-codemirror
body: <p>editor.on("keydown", function (cm, event) {
        // console.log(CodeMirror)
        if (
          !(event.ctrlKey) &amp;&amp;
          (event.keyCode >= 65 &amp;&amp; event.keyCode &lt;= 90) || 
          (event.keyCode >= 97 &amp;&amp; event.keyCode &lt;= 122) || 
          (event.keyCode >= 46 &amp;&amp; event.keyCode &lt;= 57)
        ) {
            cm.showHint({hint: CodeMirror.hint.anyword,completeSingle: false});
        }
      });
  <a href="https://i.stack.imgur.com/4thKV.png" rel="nofollow noreferrer">enter image description here</a></p>