def _on_stc_changed(self, event):

        self.dirty = True
        self.changed = True

        # Give other event handlers a chance.
        event.Skip()

        return
Called whenever a change is made to the text of the document.
dataset/ETHPy150Open enthought/pyface/pyface/ui/wx/python_editor.py/PythonEditor._on_stc_changed