Added support to monitor document change according behaviors of text editors .