

def show_preview(self, selected_index):
    self.current_selected_index = selected_index
    selected_entry = selected_index.get_history_by_index(selected_index)
    if selected_entry:
        if (hasattr(sublime, 'FORCE_GROUP') or (not FileHistory().get_view_from_another_group(self.window, selected_entry['filename']))):
            FileHistory().preview_history(self.window, selected_entry)

dataset/ETHPy150Open FichteFoll/FileHistory/file_history.py OpenRecentlyClosedFileCommand.show_preview/VarMisuse@20/33 `self`->`selected_index`