 
     return false
 
-  ###
-   * Creates a view for the given item
-   * @return {jQuery}
-   * @private
-  ###
+  # Private: Creates a view for the given item
+  #
+  # Returns a {jQuery} object that represents the item view
   viewForItem: ({word, label}) ->
     $$ ->
       @li =>

    suffixLength = match.word.length - match.prefix.length
    @editor.setSelectedBufferRange [startPosition, [startPosition.row, startPosition.column + suffixLength]]

  ###
   * As soon as the list is in the DOM tree, it calculates the maximum width of
   * all list items and resizes the list so that all items fit
   * @param {Boolean} onDom
   *
  ###
  afterAttach: (onDom) ->
    return unless onDom


      @css left: cursorLeft, top: belowPosition
      @css "-webkit-transform", ""

  # Private: Replaces the current prefix with the given match
  #
  # match - The match to replace the current prefix with
  replaceTextWithMatch: (match) ->
    selection = @editor.getSelection()
    startPosition = selection.getBufferRange().start
