             return atom.project.relativize(data);
           ).render(bodies.block, context).untap();
         ,
-        "results": regexes #FIXME: fix the sort order in the results
+        "results": regexes # FIXME: fix the sort order in the results
         # "todo_items": todoArray,
         # "fixme_items": fixmeArray,
         # "changed_items": changedArray,

    #     pane.activateItem(this)


  # open a new window, and load the file that we need.
  # we call this from the results view. This will open the result file in the left pane.
  openPath: (filePath, cursorCoords) ->
    return unless filePath

    #if there's no workspace, create a workspace... Doesn't appear to be necessary?
    # console.log('workspace', atom.workspace)

    atom.workspaceView.open(filePath, split: 'left', {@allowActiveEditorChange}).done =>
      @moveCursorTo(cursorCoords)



  # currently broken. FIXME: Remove or replace
  resolveJSPaths: (html) =>
    html = $(html)

    # scrList = html.find("#mainScript")
    scrList = [html[5]]

    for scrElement in scrList
      js = $(scrElement)
      src = js.attr('src')
      # continue if src.match /^(https?:\/\/)/
      js.attr('src', path.resolve(path.dirname(@getPath()), src))
    html

  showLoading: ->
    @html $$$ ->
      @div class: 'markdown-spinner', 'Loading Todos...'

  # Get the regexes to look for from settings
  # @FIXME: Add proper comments
  # @param settingsRegexes {array} - An array of regexes from settings.
  buildRegexLookups: (settingsRegexes) ->
