         marker, type: 'highlight', class: "linter-highlight #{message.class}"
       )
 
-  updateLineMessages: (renderMessages = false) ->
-    @lineMessages = @linter.messages.getActiveFileMessagesForActiveRow()
+  updateLineMessages: (render = false) ->
+    @messagesLine = @linter.messages.getActiveFileMessagesForActiveRow()
     @renderCount()
-    @renderPanelMessages() if renderMessages
+    @renderPanelMessages() if render
 
   attachBottom: (statusBar) ->
     @bottomBar = statusBar.addLeftTile

    else if @state.scope is 'File'
      messages = @messages.filter (message) -> message.currentFile
    else if @state.scope is 'Line'
      messages = @lineMessages
    @panel.updateMessages messages, @state.scope is 'Project'

  renderPanelMarkers: ->

BottomPanel = require('./views/bottom-panel')
BottomContainer = require('./views/bottom-container')
BottomStatus = require('./views/bottom-status')
Message = require('./views/message')

class LinterViews
  constructor: (@linter) ->
    @state = @linter.state
    @subscriptions = new CompositeDisposable
    @messages = []
    @messagesLine = []
    @markers = []
    @panel = new BottomPanel().prepare()
    @bottomContainer = new BottomContainer().prepare(@linter.state)
    @bottomBar = null
    @bubble = null

    @subscriptions.add atom.config.observe('linter.underlineIssues', (underlineIssues) =>
      @underlineIssues = underlineIssues
    )
    @subscriptions.add atom.config.observe('linter.showErrorInline', (showBubble) =>
      @showBubble = showBubble
    )
    @subscriptions.add atom.config.observe('linter.showErrorPanel', (showPanel) =>
      @panel.panelVisibility = showPanel
