code: def text_changed(self):
          
          self.default = False
          self.editor.document().changed_since_autosave = True
          self.text_changed_at.emit(self.filename,
                                    self.editor.get_position('cursor'))
docs: Editor's text has changed