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

...tors .