previousChange method

void previousChange()

Navigates to the previous change in the diff.

Does nothing if there is no previous change.

Implementation

void previousChange() {
  if (!hasPreviousChange) return;
  _currentChangeIndex--;
  notifyListeners();
  _scrollToCurrentChange();
}