       messages = @lineMessages
     @panel.updateMessages messages, @state.scope is 'Project'
 
+  renderPanelMarkers: ->
+    @removeMarkers()
+    activeEditor = atom.workspace.getActiveTextEditor()
+    return unless activeEditor
+    @messages.forEach (message) =>
+      return unless message.currentFile
+      @markers.push marker = activeEditor.markBufferRange message.range, {invalidate: 'never'}
+      activeEditor.decorateMarker(
+        marker, type: 'line-number', class: "linter-highlight #{message.class}"
+      )
+      if @underlineIssues then activeEditor.decorateMarker(
+        marker, type: 'highlight', class: "linter-highlight #{message.class}"
+      )
+
   updateLineMessages: ->
     @lineMessages =
       if @bottomContainer.getTab('File').attached

    @bottomContainer = new BottomContainer().prepare(@linter.state)
    @bottomBar = null

    @subscriptions.add @linter.onDidClassifyMessages =>
      @render()


      item: @bottomContainer,
      priority: -100

  removeMarkers: ->
    @markers.forEach (marker) -> try marker.destroy()
    @markers = []

  destroy: ->
    @removeMarkers()
    @subscriptions.dispose()
    @bottomBar.destroy()
    @panel.destroy()
