Listen to script source code changes

:information_source: Attention Topic was automatically imported from the old Question2Answer platform.
:bust_in_silhouette: Asked By fperson

There is a way to get ScriptEditor from EditorInterface by

var script_editor = get_editor_interface().get_script_editor()

script_editor has editor_script_changed signal, which is fired whenever the active script is changed (e. g. open a script, switch to another script etc), however I need a way to execute a function whenever the source code of a script is changed (e. g. a character inserted), it’s not necessary to know what has been changed, just know that there’s a change. Is there, may be, a signal for this? Thanks