def __track_calling_view(self, window):
        if not self.calling_view:
            self.calling_view = window.active_view()
            if self.calling_view:
                self.calling_view_index = window.get_view_index(self.calling_view)
                self.calling_view_is_empty = len(window.views()) == 0
            else:
                self.calling_view_index = [0, 0]
                self.calling_view_is_empty = True
Remember the view that the command was run from (including the group and index positions),
dataset/ETHPy150Open FichteFoll/FileHistory/file_history.py/FileHistory.__track_calling_view