         .then () =>
           @activeRepl.eval(expression, false, path)
             .then(null, onError)
+
+  openToSyntaxError: (path, line, char) ->
+    @openFile(path, null, line, char)
 
   openHelpFile: ->
     unless @editorIsSC()


      onClose = =>
        if @activeRepl is repl
          @activeRepl = null
        delete @repls[uri]

      repl = new Repl(uri, @projectRoot, onClose)
      @activeRepl = repl
      @repls[uri] = repl
      window = repl.createPostWindow()
      repl.startSCLang()

          return unless $target.length
        link = $target.attr('open-file')
        [path, charPos] = link.split(':')
        if ',' in charPos
          [lineno, char] = charPos.split(',')
          @openFile(path, null, parseInt(lineno), parseInt(char))
        else
          @openFile(path, parseInt(charPos))

      atom.workspace.open(uri, split: 'right', searchAllPanes: true)
        .then () =>
          @activateRepl @repls[uri]
          $('.post-window').on 'click', fileOpener

  clearPostWindow: ->
