     else
       messages = @messages
     return @setPanelVisibility(false) unless messages.size
+    @setPanelVisibility(true)
     @panel.innerHTML = ''
     messages.forEach (message) =>
       return if @scope isnt 'Project' and not message.currentFile

        if @underlineIssues then activeEditor.decorateMarker(
          marker, type: 'highlight', class: "linter-highlight #{message.class}"
        )

      if @scope is 'Line'
        return if @lineMessages.has(message)

      Element = Message.fromMessage(message, addPath: @scope is 'Project', cloneNode: true)
      @panel.appendChild Element
    @updateBubble()

  renderPanelMessages: ->

    bubble

  renderPanel: ->
    @removeMarkers()
    @removeBubble()
    activeEditor = atom.workspace.getActiveTextEditor()
    @messages.forEach (message) =>
      return if @scope isnt 'Project' and not message.currentFile
      if message.currentFile and message.range #Add the decorations to the current TextEditor
        @markers.push marker = activeEditor.markBufferRange message.range, {invalidate: 'never'}
        activeEditor.decorateMarker(
