 
     atom.workspace.open(uri, options)
       .then (editor) =>
-
         setMark = (point) =>
           editor.setCursorBufferPosition(point)
           expression = editor.lineForBufferRow(point[0])
           range = [point, [point[0], expression.length - 1]]
+          @destroyMarkers()
+
           marker = editor.markBufferRange(range, invalidate: 'touch')
           decoration = editor.decorateMarker(marker,
             type: 'line',

url = require('url')
Repl = require('./repl')
{$} = require 'atom'


module.exports =

    @activeRepl?.clearPostWindow()

  recompile: ->
    @destroyMarkers()
    if @activeRepl
      @activeRepl.recompile()
    else
