       @renderPanelMessages()
 
   render: ->
-    @messages = @linter.messages.getAllMessages()
+    @messages = @linter.messages.publicMessages
     if @ignoredMessageTypes.length
       @messages = @messages.filter (message) => @ignoredMessageTypes.indexOf(message.type) is -1
     @updateLineMessages()

    bubble

  renderCount: ->
    if @ignoredMessageTypes.length
      count = File: 0, Project: @messages.length
      @messages.forEach (message) -> count.File++ if message.currentFile
    else
      count = @linter.messages.getCount()
    count.Line = @messagesLine.length
    @bottomContainer.setCount(count)


      )

  updateLineMessages: (render = false) ->
    @messagesLine = []
    if @ignoredMessageTypes.length
      @messagesLine = @messagesLine.filter (message) => @ignoredMessageTypes.indexOf(message.type) is -1
    if render
