event listener for statement update

Is there an event that can be used to know when a robot statement has been updated? For example, when using the TouchUp command or editing the statement in Properties panel?