       catch e
         handle_exception e, compiled
 
-    add_context()
 
   context.run = run
   context


run_in_available_context = (code) ->
  add_context(code).run()

create_context = ($target, code) ->
  $entry = $ '<div class="entry"/>'

  cur = cm.getCursor()
  token = cm.getTokenAt(cur)
  if lead.graphite.has_docs token.string
    run_in_info_context "docs '#{token.string}'"
  else if lead.ops[token.string]?
    run_in_info_context "help #{token.string}"

CodeMirror.commands.suggest = (cm) ->
  CodeMirror.showHint cm, suggest, async: true
