def set_view(self, paths, group=-1, index=-1, open_file=True):

        if len(paths):
            file_path = get_target(paths)
            if file_path is None:
                return
            if open_file:
                self.view = self.window.open_file(file_path)
        elif index != -1:
            self.view = get_group_view(self.window, group, index)
        else:
            self.view = self.window.active_view()
Set view.
dataset/ETHPy150Open facelessuser/EasyDiff/easy_diff_basic.py/EasyDiffSetLeftCommand.set_view