def set_data(self, data):
        self.data = data
        if self.editor:
            self.editor.set_data(data)
Set the file data and apply to editor if it exists.
dataset/ETHPy150Open richrd/suplemon/suplemon/file.py/File.set_data