[SourceEditor] SourceEditorWidget now unsubscribe text editor events
on destroy.