     @_bottomTabFile.active = true
     @_panel.id = 'linter-panel'
 
+  getMessages: ->
+    @_messages
+
   # Called in config observer of linter-plus.coffee
   setShowPanel: (showPanel) ->
     atom.config.set('linter.showErrorPanel', showPanel)

    @_panel.innerHTML = ''
    @_removeMarkers()
    @_removeBubble()
    if not @_messages.length
      return @setPanelVisibility(false)
    @setPanelVisibility(true)
    activeEditor = atom.workspace.getActiveTextEditor()

        else
          counts.project++
          message.currentFile = false
        @_messages.add message
module.exports = LinterViews
