         else if editor2 == null
           editor2 = editor
 
+    # auto open editor panes so we have two to diff with
     if editor1 == null
       editor1 = new TextEditor()
       leftPane = atom.workspace.getActivePane()

      @diffViewEditor1 = null
      @diffViewEditor2 = null

  displayDiff: (editors, computedDiff) ->
    @diffViewEditor1 = new DiffViewEditor(editors.editor1)
    @diffViewEditor2 = new DiffViewEditor(editors.editor2)

    detailMsg = 'Ignore whitespace: ' + @isWhitespaceIgnored
    atom.notifications.addInfo('Split Diff Enabled', {detail: detailMsg})

  # called by both diffPanes and the editor subscription to update the diff
  # creates the scroll sync
  updateDiff: (editors) ->
    @clearDiff()

