

def write(self, data):
    if (self.enabled is False):
        return
    str = edit.decode('utf-8')
    str = str.replace('\r\n', '\n').replace('\r', '\n')
    outputWindow = self.getOutputWindow()
    self.show()
    self.outputWindow.set_read_only(False)
    edit = outputWindow.begin_edit()
    outputWindow.insert(edit, outputWindow.size(), str)
    outputWindow.show(outputWindow.size())
    outputWindow.end_edit(edit)
    outputWindow.set_read_only(True)

dataset/ETHPy150Open francodacosta/composer-sublime/composer.py OutputWindow.write/VarMisuse@28/30 `data`->`edit`