Editor's text has changed

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