Commits

Anonymous committed 9484b96

Fix breakage in autocomplete code caused by recent refactor

  • Participants
  • Parent commits 02e3616

Comments (0)

Files changed (1)

lib/util/simple-hint.js

       else if (code == 27) {stopEvent(event); close(); editor.focus();}
       else if (code != 38 && code != 40) {
         close(); editor.focus();
-        setTimeout(function(){startComplete(editor);}, 50);
+        setTimeout(function(){CodeMirror.simpleHint(editor, getHints);}, 50);
       }
     });
     connect(sel, "dblclick", pick);