def METHOD_NAME(self):
    """Called when the user activates the go_back action."""
    if self._index > 0:
        self._history[self._index].cursor = self.mainwindow().textCursor()
        self._index -= 1
        p = self._history[self._index]
        self.mainwindow().setTextCursor(p.cursor, p.find_open_view)
        self.updateActions()