     @diffViewEditor1.setLineHighlights(undefined, computedDiff.removedLines)
     @diffViewEditor2.setLineHighlights(computedDiff.addedLines, undefined)
 
+  # called by "toggle ignore whitespace" command
+  # toggles ignoring whitespace and refreshes the diff
   toggleIgnoreWhitespace: ->
     @isWhitespaceIgnored = !@isWhitespaceIgnored
     @diffPanes()

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

  updateDiff: (editors) ->
    @clearDiff()



    @isEnabled = true

  # called by "Disable" command
  # removes diff and sync scroll, disposes of subscriptions
  disable: ->
    @clearDiff()
    if @isEnabled
