code: def cursor_moved(self, filename0, position0, filename1, position1):
          
          if position0 is not None:
              self.add_cursor_position_to_history(filename0, position0)
          self.add_cursor_position_to_history(filename1, position1)
docs: Cursor was just moved: 'go to