Texteditor: allow other apps to listen to when the file loaded in the editor