       catch error
         ""
 
-    # 高亮关键字
-    #
-    # @param li [String] HTML String. 经过渲染后的模板
-    # @param query [String] 匹配得到的关键字
-    #
-    # @return [String] 高亮处理后的 HTML 字符串
+    # Hightlight the `matched query` string.
+    #
+    # @param li [String] HTML String after eval.
+    # @param query [String] matched query.
+    #
+    # @return [String] hightlighted string.
     highlighter: (li, query) ->
       return li if not query
       li.replace new RegExp(">\\s*(\\w*)(" + query.replace("+","\\+") + ")(\\w*)\\s*<", 'ig'), (str,$1, $2, $3) ->
           '> '+$1+'<strong>' + $2 + '</strong>'+$3+' <'
 
-    # 选择某列表项的动作
-    #
-    # @param $li [jQuery Object] 选中的列表项目
+    # What to do after use choose a item.
+    #
+    # @param $li [jQuery Object] Chosen item
     selector: ($li) ->
       this.replace_str($li.data("value") || "") if $li.length > 0
 
 
-  # At.js 对数据操作(搜索, 匹配, 渲染) 的主控中心
+  # At.js central contoller(searching, matching, evaluating and rendering.)
   class Controller
 
-    # @param inputor [HTML DOM Object] 输入框
+    # @param inputor [HTML DOM Object] `input` or `textarea`
     constructor: (inputor) ->
       @settings     = {}
       @pos          = 0

        item


    # 解析并渲染下拉列表中单个项的模板
    #
    # @param tpl [String] 模板字符串
    # @param map [Hash] 数据的键值对.
    tpl_eval: (tpl, map) ->
      try
        el = tpl.replace /\$\{([^\}]*)\}/g, (tag,key,pos) ->

          item = {name:item}
        return item

    # It would be called to match the `flag`
    #
    # @param flag [String] current `flag` ("@", etc)
    # @param subtext [String] Text from start to current caret position.
    #
    # @return [String] Matched string.
    matcher: (flag, subtext) ->
      regexp = new RegExp flag+'([A-Za-z0-9_\+\-]*)$|'+flag+'([^\\x00-\\xff]*)$','gi'
      match = regexp.exec subtext
