     @on "autocomplete-plus:select-previous", => @selectPreviousItemView()
     @on "autocomplete-plus:cancel", => @cancel()
 
-  ###
-   * Checks whether the current file is blacklisted
-   * @return {Boolean}
-   * @private
-  ###
+  # Private: Checks whether the current file is blacklisted
+  #
+  # Returns {Boolean} that defines whether the current file is blacklisted
   currentFileBlacklisted: ->
     blacklist = (atom.config.get("autocomplete-plus.fileBlacklist") or "")
       .split ","


    @setActive()

  ###
   * Gets called when the content has been modified
   * @private
  ###
  contentsModified: =>
    delay = parseInt(atom.config.get "autocomplete-plus.autoActivationDelay")
    if @delayTimeout

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

  # Private: 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
  #
  # onDom - {Boolean} is the element in the DOM?
  afterAttach: (onDom) ->
    return unless onDom

