     @projectRoot = directory.path
     @repls = {}
     @activeRepl = null
+    @markers = []
 
   start: ->
     @workspaceView.command "supercollider:open-post-window", =>

    if base
      @evalWithRepl("#{base}.openHelpFile")

  openFileLink: (link)->
    [uri, pos] = link.split(':')
    line = 0
    col = 0
    options =
      initialLine: line
      initialColumn: col
      split: 'left'
      activatePane: false
      searchAllPanes: true

    atom.workspace.open(uri, options)
      .then (editor)->
        text = editor.getText()
        cursor = 0
        li = 0
        for line in text.split('\n')
          cursor += (line.length + 1)
          if cursor > pos
            editor.setCursorBufferPosition([li, 0])
            # editor.markBufferRange
            return
          li += 1

          $target = $target.parents('.open-file').eq(0)
          return unless $target.length
        link = $target.attr('open-file')
        [path, charPos] = link.split(':')
        @openFile(path, charPos)

      atom.workspace.open(uri, split: 'right', searchAllPanes: true)
        .then () =>
